You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to run test.py code with the CC2652 Chip (CC2652R1) in Texas Instrument LaunchPad development kit.
I have /dev/ttyACM0 and /dev/ttyACM1, so I modify the CONF_DEVICE_PATH as /dev/ttyACM0 followed the Port configuration in the Read Me file. When I execute test.py code, it gave me the TimeoutError. Should I increase the waiting time or do I miss other settings?
Here is my runtime error:
/zigpy-cc$ python test.py
asyncio DEBUG Using selector: EpollSelector
__main__ INFO STARTUP
zigpy_cc.zigbee.application INFO Starting zigpy-cc version: 0.5.2
zigpy_cc.uart DEBUG Connecting on port /dev/ttyACM0 with boudrate 115200
zigpy_cc.uart DEBUG Connection made
zigpy_cc.api DEBUG --> SREQ SYS ping tsn: None {'capabilities': 1}
zigpy_cc.uart DEBUG Send: b'\xfe\x00!\x01 '
Traceback (most recent call last):
File "test.py", line 101, in <module>
loop.run_until_complete(main())
File "/home/ccho/anaconda3/envs/radec_finger_print_one/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "test.py", line 95, in main
await app.startup(auto_form=True)
File "/home/ccho/project/zigpy-cc/zigpy_cc/zigbee/application.py", line 113, in startup
await self._api.request(Subsystem.SYS, "ping", {"capabilities": 1})
File "/home/ccho/project/zigpy-cc/zigpy_cc/api.py", line 129, in request
return await self.request_raw(obj, waiter_id, expected_status)
File "/home/ccho/project/zigpy-cc/zigpy_cc/api.py", line 133, in request_raw
return await self._request_raw(obj, waiter_id, expected_status)
File "/home/ccho/project/zigpy-cc/zigpy_cc/api.py", line 156, in _request_raw
result = await waiter.wait()
File "/home/ccho/project/zigpy-cc/zigpy_cc/api.py", line 59, in wait
return await asyncio.wait_for(self.future, self.timeout / 1000)
File "/home/ccho/anaconda3/envs/radec_finger_print_one/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
My runtime environment:
OS: Ubuntu 18.04
HW: CC2652R1 (Texas Instrument LaunchPad CC2642R1/CC2652R1 development kit)
By the way, is there a comprehensive "How to" web source for the Zigpy (or Zigpy-cc)? I just want to generate some radio signal using the CC2652 chip with the Zigpy-cc tool.
Thanks.
The text was updated successfully, but these errors were encountered:
I try to run
test.py
code with the CC2652 Chip (CC2652R1) in Texas Instrument LaunchPad development kit.I have
/dev/ttyACM0
and/dev/ttyACM1
, so I modify the CONF_DEVICE_PATH as/dev/ttyACM0
followed the Port configuration in the Read Me file. When I executetest.py
code, it gave me the TimeoutError. Should I increase the waiting time or do I miss other settings?Here is my runtime error:
My runtime environment:
OS: Ubuntu 18.04
HW: CC2652R1 (Texas Instrument LaunchPad CC2642R1/CC2652R1 development kit)
By the way, is there a comprehensive "How to" web source for the Zigpy (or Zigpy-cc)? I just want to generate some radio signal using the CC2652 chip with the Zigpy-cc tool.
Thanks.
The text was updated successfully, but these errors were encountered: