TheThingsNetwork / arduino-device-lib

Arduino Library for TTN Devices
MIT License
207 stars 96 forks source link

Node: Issues with readLine() like we had on Uno earlier #90

Closed FokkeZB closed 7 years ago

FokkeZB commented 7 years ago

On the Node only, we still have a timing issue with reading and setting values:

-- PERSONALIZE
Version is RN2483 1.0.1 Dec 15 2015 09:38:09, model is RN2483
Sending: mac set deveui RN2483 1.0.1 Dec 15 2015 09:38:09
Response is not OK: err
Sending: mac set adr off
Response is not OK: invalid_param
Sending: mac set devaddr with 4 bytes
Response is not OK: invalid_param
Sending: mac set nwkskey with 16 bytes
Sending: mac set appskey with 16 bytes
Response is not OK: invalid_param
Sending: mac set rx2 3 869525000
Response is not OK: invalid_param
Sending: mac set ch dcycle 0 799
Response is not OK: invalid_param
Sending: mac set ch dcycle 1 799
Sending: mac set ch dcycle 2 799
Sending: mac set ch freq 3 867100000
Sending: mac set ch drrange 3 0 5
Sending: mac set ch status 3 on
Sending: mac set ch dcycle 3 799
Sending: mac set ch freq 4 867300000
Sending: mac set ch drrange 4 0 5
Sending: mac set ch status 4 on
Sending: mac set ch dcycle 4 799
Sending: mac set ch freq 5 867500000
Sending: mac set ch drrange 5 0 5
Sending: mac set ch status 5 on
Sending: mac set ch dcycle 5 799
Sending: mac set ch freq 6 867700000
Sending: mac set ch drrange 6 0 5
Sending: mac set ch status 6 on
Sending: mac set ch dcycle 6 799
Sending: mac set ch freq 7 867900000
Sending: mac set ch drrange 7 0 5
Sending: mac set ch status 7 on
Sending: mac set ch dcycle 7 799
Sending: mac set ch drrange 1 0 6
Sending: mac set pwridx 1
Sending: mac set dr 5
Sending: mac join abp
Response is not OK: keys_not_init
Personalize not accepted: 
-- STATUS
EUI: 0004A30B001B618C
Battery: 3294
AppEUI: 70B3D57EF000003E
DevEUI: 0004A30B001B618C
Band: 868
Data Rate: 5
RX Delay 1: 1000
RX Delay 2: 2000
-- LOOP
Sending: mac tx uncnf 1 with 1 bytes
Response is not OK: not_joined
Send command failed