created separate function for hex to char
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of SS_SensePOC2P0_11Dec2017_USERPID by
Diff: main.h
- Revision:
- 68:41da0a3ba038
- Parent:
- 67:7e07cdb1b150
- Child:
- 69:128e3b467820
--- a/main.h Mon Nov 20 12:23:52 2017 +0000 +++ b/main.h Tue Nov 21 12:47:03 2017 +0000 @@ -60,6 +60,8 @@ /********************************************************************************** ****************************** Global Function ************************************ **********************************************************************************/ +static char user_pid[10]; + void poc2p0_send_device_msg_res(uint8_t); void poc2p0_send_device_heartbeat_msg_res(uint8_t); void poc2p0_send_device_test_result_res(uint8_t, uint32_t); @@ -75,8 +77,7 @@ void store_filepid(uint32_t pid); bool read_debug_status(); uint32_t get_timer_debug(); - -char *get_userpid(char user_pid[]); - +void get_userpid(char *output_pid,char input_pid[]); +void ascii_to_hex(const char *input_buf, uint8_t len); #endif