When a receiver/sender service starts, it currently sends a zero-hop advert, this should be a flood advert so the devices name is broadcast
When a receiver/sender service starts, it currently sends a zero-hop advert, this should be a flood advert so the devices name is broadcast
<!-- github-sync-id:3702157112 -->
Changed the startup advertisement from flood=False to flood=True in src/meshcore_hub/interface/receiver.py:88.
Before:
# Send a local (non-flood) advertisement to announce presenceifself.device.send_advertisement(flood=False):logger.info("Sent local advertisement")
After:
# Send a flood advertisement to broadcast device nameifself.device.send_advertisement(flood=True):logger.info("Sent flood advertisement")
This ensures that when a receiver/sender service starts, it broadcasts a flood advertisement so the device name is transmitted throughout the mesh network.
|
**Claude finished @jinglemansweep's task** —— [View job](https://github.com/ipnet-mesh/meshcore-hub/actions/runs/19992682455) • [`claude/issue-38-20251206-1840`](https://github.com/ipnet-mesh/meshcore-hub/tree/claude/issue-38-20251206-1840) • [Create PR ➔](https://github.com/ipnet-mesh/meshcore-hub/compare/main...claude/issue-38-20251206-1840?quick_pull=1&title=Send%20flood%20advertisement%20on%20receiver%20startup&body=Changed%20the%20startup%20advertisement%20from%20flood%3DFalse%20to%20flood%3DTrue%20so%20that%20the%20device%20name%20is%20broadcast%20to%20the%20mesh%20network.%0A%0AFixes%20%2338%0A%0AGenerated%20with%20%5BClaude%20Code%5D%28https%3A%2F%2Fclaude.ai%2Fcode%29)
---
### Task Complete
**Tasks:**
- [x] Read repository guidelines and setup instructions
- [x] Locate startup advert code
- [x] Change `flood=False` to `flood=True`
- [x] Commit and push changes
### Changes Made
Changed the startup advertisement from `flood=False` to `flood=True` in `src/meshcore_hub/interface/receiver.py:88`.
**Before:**
```python
# Send a local (non-flood) advertisement to announce presence
if self.device.send_advertisement(flood=False):
logger.info("Sent local advertisement")
```
**After:**
```python
# Send a flood advertisement to broadcast device name
if self.device.send_advertisement(flood=True):
logger.info("Sent flood advertisement")
```
This ensures that when a receiver/sender service starts, it broadcasts a flood advertisement so the device name is transmitted throughout the mesh network.
---
|
<!-- github-comment-id:3620884814 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When a receiver/sender service starts, it currently sends a zero-hop advert, this should be a flood advert so the devices name is broadcast
@claude Can you set "flood=True" when sending startup advert
Claude finished @jinglemansweep's task —— View job •
claude/issue-38-20251206-1840• Create PR ➔Task Complete
Tasks:
flood=Falsetoflood=TrueChanges Made
Changed the startup advertisement from
flood=Falsetoflood=Trueinsrc/meshcore_hub/interface/receiver.py:88.Before:
After:
This ensures that when a receiver/sender service starts, it broadcasts a flood advertisement so the device name is transmitted throughout the mesh network.
|