=================================================================================================================== prepareSendBuffer() - returns the final size of the buf ===================================================================================================================
| 561 | // prepareSendBuffer() - returns the final size of the buf |
| 562 | //=================================================================================================================== |
| 563 | uint8_t prepareStoreBuffer(char* hexdata, uint8_t*buf, uint8_t length) { |
| 564 | for (uint8_t i=0; i<length;i++) |
| 565 | buf[i] = BYTEfromHEX(hexdata[i*2], hexdata[i*2+1]); |
| 566 | return length; |
| 567 | } |
| 568 | |
| 569 | //=================================================================================================================== |
| 570 | // validHexString() - walk a char stream and check all chars are valid ascii HEX chars |
nothing calls this directly
no test coverage detected