Dear all,
I have written some code that controls the SPIS and allows it to transfer data as if it were a master. I am generating the SPIS clock from one timer, and I am looping back a pin to control the CSN line for the SPIS. The CSN is controlled…
I want to send a float as a value of a characteristic.
As I know is this all what I have to change to send a float...
float temperature;
uint16_t len = 20;
attr_char_value.init_len = 4;
attr_char_value.init_offs = 0;
attr_char_value.max_len…