hi. i open ble_ant_app_hrm from sdk 9 and i send data over ant . how can i send a data just one time cause i want save it on eeprom. how can i send a data just one time?
hi. i open ble_ant_app_hrm from sdk 9 and i send data over ant . how can i send a data just one time cause i want save it on eeprom. how can i send a data just one time?
ble_ant_app_hrm implements an ANT slave that receives packets from an ANT master. Are you asking how you can receive only one packet from this master? Could you elaborate a bit? What is the purpose of this?
i change the code to send data over ant and receive it from another nrf board. now i use sd_ant_acknowledge_message_tx and it send data well and receive data on other end well . but in recevieng board it receive 4 times per second i think . how can i send data one time and receive it one time?
This is not really how ANT works, once you have opened a master channel it will start transmitting packets every channel period until you close the channel.
I'm guessing that you have set the channel period to 8192/32768 = 0.250s, since you recive 4 times per second.
Maybe you can close the channel after you get the ack from the slave?