Hi,
I get a series of data from NIR through bluetooth, some of which are as follows:
(0x) 00-EE-0E-00-00
(0x) 01-74-70-6C-00-75-0E-00-00-53-28-75-63-23-63-63-63-63-63-63
(0x) 02-63-6A-6A-76-76-75-24-28-66-23-66-23-29-63-23-76-63-63-63
(0x) 03-63-76-63-23-63-23-76-76-63-76-76-69-23-29-00-14-00-00-00
(0x) 04-03-00-00-00-03-00-00-00-08-00-00-00-08-00-00-00-28-00-00
(0x) 05-00-60-03-00-00-01-00-00-00 -67-6E-6F-68-6E-69-4C-00-00-00
(0x) 06-00-00-00-00-00-00-00-00-00-00 -0F-03-1F-02-07-01-23 -DA-0B
(0x) 07-3E-0B -74-13 -06-0E -01-00-F1-00 -80-72-D2-74-75-98-1F-C0-46
(0x) 08-67-A2-83-2C-BF-B0-3F-02-0A-E5-5E-89-C0-21-BF-31-13-6C-F2
(0x) 09-50-73-9B-40-F7-7C-93-C0-92-71-ED-BF-60-BA-22-35-16-53-30
(0x) 0A-BF-36-34-36-30-30-32-37-00-ED-00-18-19-40 -00-4D-00-36-34
(0x) 0B-36-30-30-32-37-00 -43-6F-6C-75-6D-6E-20-31-00-00-00-00-00
(0x) 0C-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
(0x) 0D-00-00-00-00-00-00-00-00 -84-03-A4-06 -06 -E4-00 -06-00 -61-B8
(0x) 0E-00-00-F9-C4-00-00-46-D2-00-00-A1-DE-00-00-9C-F1-00-00-3D
(0x) 0F-05-01-00-55-17-01-00-72-2A-01-00-F9-3D-01-00-A9-4E-01-00
...
They are packets of data. Is the next thing I need to do to remove the header from the packet and then do the next deserialization?
Should I write this data into an array? Then deserialize the array into a structure.
Now I have a lot of questions, hope to get help.
Thanks & Regards,
Hong.