Why do you go through ASCII conversion and reconversion instead of just taking the values?
uint32_t statkal = (((((uint32_t)notifydata[4]) << 8) + notifydata[5]) << 8) + notifydata[6];
Why do you go through ASCII conversion and reconversion instead of just taking the values?
uint32_t statkal = (((((uint32_t)notifydata[4]) << 8) + notifydata[5]) << 8) + notifydata[6];