Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to find a way to process Hex into readable text. #2

Closed
dmahony opened this issue Dec 7, 2015 · 1 comment
Closed

Need to find a way to process Hex into readable text. #2

dmahony opened this issue Dec 7, 2015 · 1 comment

Comments

@dmahony
Copy link
Owner

dmahony commented Dec 7, 2015

The output when receiving a message is like this:
{'cad_detected': 0, 'fhss_change_ch': 0, 'cad_done': 0, 'crc_error': 0, 'tx_done': 0, 'valid_header': 1, 'rx_timeout': 0, 'rx_done': 1}
['0x48', '0x65', '0x6c', '0x6c', '0x6f', '0x20', '0x57', '0x6f', '0x72', '0x6c', '0x64' ,'0x21']

Ideally it would be output like this:

Hello World!

@dmahony dmahony closed this as completed Dec 7, 2015
@dmahony dmahony reopened this Dec 7, 2015
@mdxe
Copy link
Collaborator

mdxe commented Dec 7, 2015

Please take a look at this commit, hopefully that should convert the hex values list to a text string: mdxe/pySX127x@3875af8

@dmahony dmahony closed this as completed Dec 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants