zigbee获取数据之后,在使用HalUARTWrite串口打印数据 的时候,只能打印字符型的吗?我拿到的一个例程是打印出ASCII码,但是当我打印zigbee节点收到的数据包中的rssi值的时候,会提示 :Error[Pe167]: argument of type "int" is incompatible with parameter of type "unsigned char *"。然后我将rssi值强制转换为char型之后,串口打印出来的数据是乱码的,请问应该怎样解决这个问题?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
zigbee获取数据之后,在使用HalUARTWrite串口打印数据 的时候,只能打印字符型的吗?我拿到的一个例程是打印出ASCII码,但是当我打印zigbee节点收到的数据包中的rssi值的时候,会提示 :Error[Pe167]: argument of type "int" is incompatible with parameter of type "unsigned char *"。然后我将rssi值强制转换为char型之后,串口打印出来的数据是乱码的,请问应该怎样解决这个问题?