I am playing with core and dongle. I made something like wireless UART via radio and I thing this is quite slow communication way. It is good enough for sending temperature or push-button events, but I would like to transmit like 10 messages per second and I can’t reach it. Is there any example how to transmit data faster? As a template I am using push-button example, but there is quite a lot data transmit around (preamble, address, synchronization word, …) for just a two bytes of data in one package. Is there any option how to send 4B or more in one package? Or do you have any suggestions how to speed up the communication, please?
you can use bc_radio_pub_* functions. You can send uin32_t, strings and even a buffer. The single radio message can send around 50-60 bytes. So you cannot send long buffer over 40 bytes, you have to test it with shorter ones first.
The 868 MHz is not ideal for streaming data because there apply CE & FCC duty cycles.
The duty cycle – it is defined as the maximum ratio of time on the air per hour. Basically, 1% means you can speak 36s per hour, not more. Duty Cycle is applicable for the sub-band.
Here is example how to use RAW radio packets without acknowledgments.
This is uring RAW packets and not the BigClown protocol so you have to use your gateway.
Upload this example to two Core Modules. Connect them over USB to PC and open both of them in the serial terminal. When you press the button the other one module gives you the message over USB.
Again, you have to check the duty cycle to not transmit for longer that 1% of the time in a hour - that CE/FCC duty cycle rule.
Thank you for a help, it works perfectly. I do not have to worry about duty cycle, since the device is closed in heavy shielded cover with no chance for outgoing signal :).
Unfortunately I cant be more specific, but it is an equipment inside an huge X-Ray - that is why I have absolutely no worries about any duty cycle :). They want to publish it. Once it is out, I’ll send you link :).