I am using the Puck to advertise multiple sensors and to do this I set up a delay to sequence each sensor value. When monitored on node-red it would appear that the advertised value is only sent once or again if the value changes in the time before the next sensor value is advertised.
This is OK for most uses, but if the Pi misses an advertisement data can be lost, like a motion sensor pulse.
The question I have is, is an advertise duration option available? I know the advertise interval is, but how long it advertises for the set interval before it stops I am not sure.
When you monitor RSSI it appears to be a constant stream of advertisements. Is this possible to set up with NRF.
Perhaps it is set to only re-advertise onChange()?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am using the Puck to advertise multiple sensors and to do this I set up a delay to sequence each sensor value. When monitored on node-red it would appear that the advertised value is only sent once or again if the value changes in the time before the next sensor value is advertised.
This is OK for most uses, but if the Pi misses an advertisement data can be lost, like a motion sensor pulse.
The question I have is, is an advertise duration option available? I know the advertise interval is, but how long it advertises for the set interval before it stops I am not sure.
When you monitor RSSI it appears to be a constant stream of advertisements. Is this possible to set up with NRF.
Perhaps it is set to only re-advertise onChange()?