Python Forum
Read Byte Array from Zigbee coordinator using python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Read Byte Array from Zigbee coordinator using python
#4
Well we don't necessarily have serial devices to test this. If you can re-frame your question with a hard-coded value that reproduces the issue without serial, that would be ideal.

Without digging in more, my only comment at this point is that something is off with your logic, you check the value of packet_ready and then inside that if-block you check it for a different value. That doesn't really make sense. It doesn't look like your newest code reproduces your original problem, you should make sure to include (1) your latest code and (2) the exact thing wrong with that code, including the exact stack trace associated with it.
Reply


Messages In This Thread
RE: Read Byte Array from Zigbee coordinator using python - by micseydel - Mar-26-2019, 03:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  extract only text strip byte array Pir8Radio 7 2,921 Nov-29-2022, 10:24 PM
Last Post: Pir8Radio
  Indexing [::-1] to Reverse ALL 2D Array Rows, ALL 3D, 4D Array Columns & Rows Python Jeremy7 8 7,097 Mar-02-2021, 01:54 AM
Last Post: Jeremy7
  'utf-8' codec can't decode byte 0xe2 in position 122031: invalid continuation byte tienttt 12 11,507 Sep-18-2020, 10:10 PM
Last Post: tienttt
  convert array of numbers to byte array adetheheat 3 2,792 Aug-13-2020, 05:09 PM
Last Post: bowlofred
  Convert even byte array to odd medatib531 1 2,201 Mar-17-2020, 02:48 AM
Last Post: scidam
  Python crypto byte plaintext to hexint Mangaz90 2 2,844 Feb-21-2020, 07:42 PM
Last Post: Mangaz90
  'utf-8' codec can't decode byte 0xda in position 184: invalid continuation byte karkas 8 31,641 Feb-08-2020, 06:58 PM
Last Post: karkas
  How to read a text file into a list or an array musouka 2 2,872 Oct-07-2019, 01:54 PM
Last Post: musouka
  Byte array is sorted when sending via USB daviddlc68 1 2,816 Aug-16-2019, 10:11 AM
Last Post: wavic
  Reading data from serial port as byte array vlad93 1 12,050 May-18-2019, 05:26 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020