#define SCNo16 "o" 

octal scanf format for uint16_t