Hello, how to send more data (messages) in one time?
I know, that is possible to send 12 byte. But I need send 24 byte one per hour.
In example for Sigfox (\sdk_examples\sigfox) is:
if (event == BC_TAG_TEMPERATURE_EVENT_UPDATE)
{
if (bc_module_sigfox_is_ready(&sigfox_module))
{
// Read temperature
bc_tag_temperature_get_temperature_celsius(self, &temperature);
uint8_t buffer[5];
// First byte 0x02 says we are sending temperature
buffer[0] = 0x02;
// Variable temperature is converted from float to uint32_t
// and then shifted. The decimal part is lost.
// If you need decimal part, first multiply float by * 100 and then do the casting to uint32_t
buffer[1] = (uint32_t) temperature;
buffer[2] = (uint32_t) temperature >> 8;
buffer[3] = (uint32_t) temperature >> 16;
buffer[4] = (uint32_t) temperature >> 24;
bc_module_sigfox_send_rf_frame(&sigfox_module, buffer, sizeof(buffer));
And I would like something as
uint8_t buffer1[12], buffer2[12];
bc_module_sigfox_send_rf_frame(&sigfox_module, buffer1, sizeof(buffer1));
bc_module_sigfox_send_rf_frame(&sigfox_module, buffer2, sizeof(buffer2));
Any idea? When I tested it, it’s not working.
Thank you for any help.