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:
- 69:128e3b467820
- Parent:
- 68:41da0a3ba038
- Child:
- 70:f2e544a5645b
--- a/main.h Tue Nov 21 12:47:03 2017 +0000 +++ b/main.h Thu Nov 23 12:11:46 2017 +0000 @@ -60,7 +60,7 @@ /********************************************************************************** ****************************** Global Function ************************************ **********************************************************************************/ -static char user_pid[10]; + void poc2p0_send_device_msg_res(uint8_t); void poc2p0_send_device_heartbeat_msg_res(uint8_t); @@ -77,7 +77,11 @@ void store_filepid(uint32_t pid); bool read_debug_status(); uint32_t get_timer_debug(); -void get_userpid(char *output_pid,char input_pid[]); + +//void get_userpid(char *output_pid,char input_pid[]); +char* get_userpid(void); + void ascii_to_hex(const char *input_buf, uint8_t len); + #endif