pinedio-2022-05-10
github-actions
released this
10 May 01:57
·
2398 commits
to master
since this release
What's Changed
Full Changelog: release-2022-05-09...pinedio-2022-05-10
All OK! BL602 has successfully joined the LoRaWAN Network
All OK! BL604 has responded to touch
Script started on 2022-05-10 09:59:37+08:00 [<not executed on terminal>]
+ '[' '' == '' ']'
+ export BUILD_PREFIX=pinedio
+ BUILD_PREFIX=pinedio
+ '[' '' == '' ']'
++ date +%Y-%m-%d
+ export BUILD_DATE=2022-05-10
+ BUILD_DATE=2022-05-10
+ '[' /dev/ttyUSB1 == '' ']'
+ source /home/pi/.cargo/env
++ export PATH=/home/pi/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
++ PATH=/home/pi/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
+ set +x
----- Download the latest pinedio NuttX build for 2022-05-10
+ wget -q https://github.com/lupyuen/incubator-nuttx/releases/download/pinedio-2022-05-10/nuttx.zip -O /tmp/nuttx.zip
+ pushd /tmp
/tmp ~/remote-bl602
+ unzip -o nuttx.zip
Archive: nuttx.zip
inflating: nuttx
inflating: nuttx.S
inflating: nuttx.bin
inflating: nuttx.board
inflating: nuttx.bringup
inflating: nuttx.config
inflating: nuttx.hex
inflating: nuttx.manifest
inflating: nuttx.map
+ popd
~/remote-bl602
+ set +x
----- Enable GPIO 5 and 6
----- Set GPIO 5 and 6 as output
----- Set GPIO 5 to High (BL602 Flashing Mode)
----- Toggle GPIO 6 High-Low-High (Reset BL602)
----- Toggle GPIO 6 High-Low-High (Reset BL602 again)
----- BL602 is now in Flashing Mode
----- Flash BL602 over USB UART with blflash
+ blflash flash /tmp/nuttx.bin --port /dev/ttyUSB1
[INFO blflash::flasher] Start connection...
[TRACE blflash::flasher] 5ms send count 55
[TRACE blflash::flasher] handshake sent elapsed 348.199µs
[INFO blflash::flasher] Connection Succeed
[INFO blflash] Bootrom version: 1
[TRACE blflash] Boot info: BootInfo { len: 14, bootrom_version: 1, otp_info: [0, 0, 0, 0, 3, 0, 4, 40, ad, b8, e3, 4c, b9, 7c, 15, 0] }
[INFO blflash::flasher] Sending eflash_loader...
######>------------------------------------- 3.91KiB/28.58KiB 11.11KiB/s 2s
############>------------------------------- 7.81KiB/28.58KiB 11.09KiB/s 2s
#################>------------------------- 11.72KiB/28.58KiB 11.09KiB/s 2s
#######################>------------------- 15.62KiB/28.58KiB 11.09KiB/s 1s
#############################>------------- 19.53KiB/28.58KiB 11.09KiB/s 1s
###################################>------- 23.44KiB/28.58KiB 11.09KiB/s 1s
#########################################>- 27.34KiB/28.58KiB 11.09KiB/s 0s
##########################################> 28.39KiB/28.58KiB 11.09KiB/s 0s
[INFO blflash::flasher] Finished 2.562369349s 11.15KiB/s
[TRACE blflash::flasher] 5ms send count 500
[TRACE blflash::flasher] handshake sent elapsed 5.204591ms
[INFO blflash::flasher] Entered eflash_loader
[INFO blflash::flasher] Skip segment addr: 0 size: 47504 sha256 matches
[INFO blflash::flasher] Skip segment addr: e000 size: 272 sha256 matches
[INFO blflash::flasher] Skip segment addr: f000 size: 272 sha256 matches
[INFO blflash::flasher] Erase flash addr: 10000 size: 583968
[INFO blflash::flasher] Program flash... a1da1e29cf3b2705209ecea64a91ba718a6d77d0cce65b1a687c4345f33585af
>------------------------------------------ 3.91KiB/570.28KiB 81.62KiB/s 7s
>----------------------------------------- 11.72KiB/570.28KiB 81.41KiB/s 7s
#>---------------------------------------- 19.53KiB/570.28KiB 81.44KiB/s 7s
##>--------------------------------------- 27.34KiB/570.28KiB 81.48KiB/s 7s
##>--------------------------------------- 35.16KiB/570.28KiB 81.51KiB/s 7s
###>-------------------------------------- 42.97KiB/570.28KiB 81.54KiB/s 7s
###>-------------------------------------- 50.78KiB/570.28KiB 81.56KiB/s 7s
####>------------------------------------- 58.59KiB/570.28KiB 81.58KiB/s 7s
####>------------------------------------- 66.41KiB/570.28KiB 81.58KiB/s 6s
#####>------------------------------------ 74.22KiB/570.28KiB 81.63KiB/s 6s
######>----------------------------------- 82.03KiB/570.28KiB 81.66KiB/s 6s
######>----------------------------------- 89.84KiB/570.28KiB 81.67KiB/s 6s
#######>---------------------------------- 97.66KiB/570.28KiB 81.69KiB/s 6s
#######>--------------------------------- 105.47KiB/570.28KiB 81.69KiB/s 6s
########>-------------------------------- 113.28KiB/570.28KiB 81.70KiB/s 6s
########>-------------------------------- 121.09KiB/570.28KiB 81.70KiB/s 6s
#########>------------------------------- 128.91KiB/570.28KiB 81.70KiB/s 6s
#########>------------------------------- 136.72KiB/570.28KiB 81.71KiB/s 6s
##########>------------------------------ 144.53KiB/570.28KiB 81.71KiB/s 5s
##########>------------------------------ 152.34KiB/570.28KiB 81.71KiB/s 5s
###########>----------------------------- 160.16KiB/570.28KiB 81.71KiB/s 5s
############>---------------------------- 167.97KiB/570.28KiB 81.71KiB/s 5s
############>---------------------------- 175.78KiB/570.28KiB 81.71KiB/s 5s
#############>--------------------------- 183.59KiB/570.28KiB 81.71KiB/s 5s
#############>--------------------------- 191.41KiB/570.28KiB 81.71KiB/s 5s
##############>-------------------------- 199.22KiB/570.28KiB 81.71KiB/s 5s
##############>-------------------------- 207.03KiB/570.28KiB 81.72KiB/s 5s
###############>------------------------- 214.84KiB/570.28KiB 81.72KiB/s 5s
################>------------------------ 222.66KiB/570.28KiB 81.72KiB/s 5s
################>------------------------ 230.47KiB/570.28KiB 81.72KiB/s 4s
#################>----------------------- 238.28KiB/570.28KiB 81.72KiB/s 4s
#################>----------------------- 246.09KiB/570.28KiB 81.73KiB/s 4s
##################>---------------------- 253.91KiB/570.28KiB 81.73KiB/s 4s
##################>---------------------- 261.72KiB/570.28KiB 81.73KiB/s 4s
###################>--------------------- 269.53KiB/570.28KiB 81.74KiB/s 4s
###################>--------------------- 277.34KiB/570.28KiB 81.75KiB/s 4s
####################>-------------------- 285.16KiB/570.28KiB 81.76KiB/s 4s
#####################>------------------- 292.97KiB/570.28KiB 81.77KiB/s 4s
#####################>------------------- 300.78KiB/570.28KiB 81.78KiB/s 4s
######################>------------------ 308.59KiB/570.28KiB 81.79KiB/s 3s
######################>------------------ 316.41KiB/570.28KiB 81.79KiB/s 3s
#######################>----------------- 324.22KiB/570.28KiB 81.80KiB/s 3s
#######################>----------------- 332.03KiB/570.28KiB 81.80KiB/s 3s
########################>---------------- 339.84KiB/570.28KiB 81.81KiB/s 3s
########################>---------------- 347.66KiB/570.28KiB 81.82KiB/s 3s
#########################>--------------- 355.47KiB/570.28KiB 81.82KiB/s 3s
##########################>-------------- 363.28KiB/570.28KiB 81.83KiB/s 3s
##########################>-------------- 371.09KiB/570.28KiB 81.83KiB/s 3s
###########################>------------- 378.91KiB/570.28KiB 81.83KiB/s 3s
###########################>------------- 386.72KiB/570.28KiB 81.84KiB/s 2s
############################>------------ 394.53KiB/570.28KiB 81.84KiB/s 2s
############################>------------ 402.34KiB/570.28KiB 81.84KiB/s 2s
#############################>----------- 410.16KiB/570.28KiB 81.83KiB/s 2s
##############################>---------- 417.97KiB/570.28KiB 81.83KiB/s 2s
##############################>---------- 425.78KiB/570.28KiB 81.83KiB/s 2s
###############################>--------- 433.59KiB/570.28KiB 81.82KiB/s 2s
###############################>--------- 441.41KiB/570.28KiB 81.82KiB/s 2s
################################>-------- 449.22KiB/570.28KiB 81.82KiB/s 2s
################################>-------- 457.03KiB/570.28KiB 81.82KiB/s 2s
#################################>------- 464.84KiB/570.28KiB 81.82KiB/s 2s
#################################>------- 472.66KiB/570.28KiB 81.82KiB/s 1s
##################################>------ 480.47KiB/570.28KiB 81.82KiB/s 1s
###################################>----- 488.28KiB/570.28KiB 81.82KiB/s 1s
###################################>----- 496.09KiB/570.28KiB 81.81KiB/s 1s
####################################>---- 503.91KiB/570.28KiB 81.82KiB/s 1s
####################################>---- 511.72KiB/570.28KiB 81.82KiB/s 1s
#####################################>--- 519.53KiB/570.28KiB 81.82KiB/s 1s
#####################################>--- 527.34KiB/570.28KiB 81.82KiB/s 1s
######################################>-- 535.16KiB/570.28KiB 81.82KiB/s 1s
#######################################>- 542.97KiB/570.28KiB 81.82KiB/s 1s
#######################################>- 550.78KiB/570.28KiB 81.83KiB/s 0s
########################################> 558.59KiB/570.28KiB 81.83KiB/s 0s
########################################> 566.41KiB/570.28KiB 81.84KiB/s 0s
[INFO blflash::flasher] Program done 6.968046597s 81.84KiB/s
[INFO blflash::flasher] Skip segment addr: 1f8000 size: 5671 sha256 matches
[INFO blflash] Success
+ set +x
----- Set GPIO 5 to Low (BL602 Normal Mode)
----- Toggle GPIO 6 High-Low-High (Reset BL602)
----- BL602 is now in Normal Mode
----- Toggle GPIO 6 High-Low-High (Reset BL602)
----- Here is the BL602 Output...
�gplh_enable: WARNING: pin9: Already detached
gplh_enable: WARNING: pin12: Already detached
gplh_enable: WARNING: pin19: Already detached
cst816s_register: path=/dev/input0, addr=21
cst816s_register: Driver registered
NuttShell (NSH) NuttX-10.3.0-RC0
nsh> uname -a
NuttX 10.3.0-RC0 3e60d2211d May 10 2022 01:55:54 risc-v bl602evb
nsh> ls /dev
/dev:
console
gpio10
gpio12
gpio14
gpio15
gpio19
gpio20
gpio21
gpio3
gpio9
i2c0
input0
lcd0
null
spi0
spitest0
timer0
urandom
zero
nsh> spi_test2
Get Status: received
a2 22
SX1262 Status is 2
Read Register 8: received
a2 a2 a2 a2 80
SX1262 Register 8 is 0x80
SX1262 is OK
nsh>
----- Send command to BL602: lorawan_test
nsh> lorawan_test
init_entropy_pool
offset = 2209
temperature = 25.667484 Celsius
offset = 2209
temperature = 23.990713 Celsius
offset = 2209
temperature = 28.763060 Celsius
offset = 2209
temperature = 24.635626 Celsius
###### ===================================== ######
Application name : lorawan_test
Application version: 1.2.0
GitHub base version: 5.0.0
###### ===================================== ######
init_event_queue
TimerInit: 0x4201c76c
TimerInit: 0x4201c788
TimerInit: 0x4201c7a4
TimerInit: 0x4201c820
TimerInit: 0x4201c8d4
TimerInit: 0x4201c8f0
TimerInit: 0x4201c90c
TimerInit: 0x4201c928
TODO: RtcGetCalendarTime
TODO: SX126xReset
init_gpio
DIO1 pintype before=5
init_gpio: change DIO1 to Trigger GPIO Interrupt on Rising Edge
gplh_enable: WARNING: pin19: Already detached
DIO1 pintype after=8
Starting process_dio1
init_spi
SX126xSetTxParams: power=22, rampTime=7
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
TimerInit: 0x4201b86c
TimerInit: 0x4201b7d8
RadioSetModem
RadioSetModem
RadioSetPublicNetwork: public syncword=3444
RadioSleep
callout_handler: lock
process_dio1 started
process_dio1: event=0x4201b894
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
TODO: EepromMcuReadBuffer
RadioSetModem
RadioSetPublicNetwork: public syncword=3444
DevEui : 4B-C1-5E-E7-37-7B-B1-5B
JoinEui : 00-00-00-00-00-00-00-00
Pin : 00-00-00-00
TimerInit: 0x4201c3c4
TimerInit: 0x4201c3e0
TimerInit: 0x4201c2a4
TODO: RtcGetCalendarTime
TODO: RtcBkupRead
TODO: RtcBkupRead
RadioSetChannel: freq=923200000
RadioSetTxConfig: modem=1, power=13, fdev=0, bandwidth=0, datarate=10, coderate=1, preambleLen=8, fixLen=0, crcOn=1, freqHopOn=0, hopPeriod=0, iqInverted=0, timeout=4000
RadioSetTxConfig: SpreadingFactor=10, Bandwidth=4, CodingRate=1, LowDatarateOptimize=0, PreambleLength=8, HeaderType=0, PayloadLength=255, CrcMode=1, InvertIQ=0
RadioStandby
RadioSetModem
SX126xSetTxParams: power=13, rampTime=7
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
SecureElementRandomNumber: 0xadca60d3
RadioSend: size=23
00 00 00 00 00 00 00 00 00 5b b1 7b 37 e7 5e c1 4b d3 60 56 87 9f 5b
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=23, CrcMode=1, InvertIQ=0
TimerStop: 0x4201b86c
TimerStart2: 0x4201b86c, 4000 ms
callout_reset: evq=0x420131a8, ev=0x4201b86c
###### =========== MLME-Request ============ ######
###### MLME_JOIN ######
###### ===================================== ######
STATUS : OK
StartTxProcess
TimerInit: 0x4201a90c
TimerSetValue: 0x4201a90c, 42249 ms
OnTxTimerEvent: timeout in 42249 ms, event=0
TimerStop: 0x4201a90c
TimerSetValue: 0x4201a90c, 42249 ms
TimerStart: 0x4201a90c
TimerStop: 0x4201a90c
TimerStart2: 0x4201a90c, 42249 ms
callout_reset: evq=0x420131a8, ev=0x4201a90c
handle_event_queue
DIO1 add event
handle_event_queue: ev=0x4201b894
RadioOnDioIrq
RadioIrqProcess
IRQ_TX_DONE
TimerStop: 0x4201b86c
TODO: RtcGetCalendarTime
TODO: RtcBkupRead
RadioOnDioIrq
RadioIrqProcess
RadioSleep
TimerSetValue: 0x4201c788, 4988 ms
TimerStart: 0x4201c788
TimerStop: 0x4201c788
TimerStart2: 0x4201c788, 4988 ms
callout_reset: evq=0x420131a8, ev=0x4201c788
TimerSetValue: 0x4201c7a4, 5988 ms
TimerStart: 0x4201c7a4
TimerStop: 0x4201c7a4
TimerStart2: 0x4201c7a4, 5988 ms
callout_reset: evq=0x420131a8, ev=0x4201c7a4
TODO: RtcGetCalendarTime
callout_handler: unlock
callout_handler: evq=0x420131a8, ev=0x4201c788
callout_handler: lock
handle_event_queue: ev=0x4201c788
TimerStop: 0x4201c788
RadioStandby
RadioSetChannel: freq=923200000
RadioSetRxConfig
RadioStandby
RadioSetModem
RadioSetRxConfig done
RadioRx
TimerStop: 0x4201b7d8
TimerStart2: 0x4201b7d8, 3000 ms
callout_reset: evq=0x420131a8, ev=0x4201b7d8
RadioOnDioIrq
RadioIrqProcess
DIO1 add event
handle_event_queue: ev=0x4201b894
RadioOnDioIrq
RadioIrqProcess
IRQ_PREAMBLE_DETECTED
RadioOnDioIrq
RadioIrqProcess
DIO1 add event
handle_event_queue: ev=0x4201b894
RadioOnDioIrq
RadioIrqProcess
IRQ_HEADER_VALID
RadioOnDioIrq
RadioIrqProcess
DIO1 add event
handle_event_queue: ev=0x4201b894
RadioOnDioIrq
RadioIrqProcess
IRQ_RX_DONE
TimerStop: 0x4201b7d8
RadioOnDioIrq
RadioIrqProcess
RadioSleep
TimerStop: 0x4201c7a4
OnTxData
###### =========== MLME-Confirm ============ ######
STATUS : OK
OnJoinRequest
###### =========== JOINED ============ ######
OTAA
DevAddr : 01749E73
DATA RATE : DR_2
TODO: EepromMcuWriteBuffer
TODO: EepromMcuWriteBuffer
TODO: EepromMcuWriteBuffer
TODO: EepromMcuWriteBuffer
TODO: EepromMcuWriteBuffer
TODO: EepromMcuWriteBuffer
UplinkProcess
PrepareTxFrame: Transmit to LoRaWAN: Hi NuttX (9 bytes)
PrepareTxFrame: status=0, maxSize=11, currentSize=11
LmHandlerSend: Data frame
TODO: RtcGetCalendarTime
TODO: RtcBkupRead
RadioSetChannel: freq=923400000
RadioSetTxConfig: modem=1, power=13, fdev=0, bandwidth=0, datarate=9, coderate=1, preambleLen=8, fixLen=0, crcOn=1, freqHopOn=0, hopPeriod=0, iqInverted=0, timeout=4000
RadioSetTxConfig: SpreadingFactor=9, Bandwidth=4, CodingRate=1, LowDatarateOptimize=0, PreambleLength=8, HeaderType=0, PayloadLength=128, CrcMode=1, InvertIQ=0
RadioStandby
RadioSetModem
SX126xSetTxParams: power=13, rampTime=7
SX126xSetPaConfig: paDutyCycle=4, hpMax=7, deviceSel=0, paLut=1
RadioSend: size=22
40 73 9e 74 01 00 01 00 01 b6 6f 60 43 28 08 96 32 23 fd 44 39 68
RadioSend: PreambleLength=8, HeaderType=0, PayloadLength=22, CrcMode=1, InvertIQ=0
TimerStop: 0x4201b86c
TimerStart2: 0x4201b86c, 4000 ms
callout_reset: evq=0x420131a8, ev=0x4201b86c
###### =========== MCPS-Request ============ ######
###### MCPS_UNCONFIRMED ######
###### ===================================== ######
STATUS : OK
PrepareTxFrame: Transmit OK
DIO1 add event
handle_event_queue: ev=0x4201b894
RadioOnDioIrq
RadioIrqProcess
IRQ_TX_DONE
TimerStop: 0x4201b86c
TODO: RtcGetCalendarTime
TODO: RtcBkupRead
RadioOnDioIrq
RadioIrqProcess
RadioSleep
TimerSetValue: 0x4201c788, 980 ms
TimerStart: 0x4201c788
TimerStop: 0x4201c788
TimerStart2: 0x4201c788, 980 ms
callout_reset: evq=0x420131a8, ev=0x4201c788
TimerSetValue: 0x4201c7a4, 1988 ms
TimerStart: 0x4201c7a4
TimerStop: 0x4201c7a4
TimerStart2: 0x4201c7a4, 1988 ms
callout_reset: evq=0x420131a8, ev=0x4201c7a4
TODO: RtcGetCalendarTime
callout_handler: unlock
callout_handler: evq=0x420131a8, ev=0x4201c788
callout_handler: lock
handle_event_queue: ev=0x4201c788
TimerStop: 0x4201c788
RadioStandby
RadioSetChannel: freq=923400000
RadioSetRxConfig
RadioStandby
RadioSetModem
RadioSetRxConfig done
RadioRx
TimerStop: 0x4201b7d8
TimerStart2: 0x4201b7d8, 3000 ms
callout_reset: evq=0x420131a8, ev=0x4201b7d8
RadioOnDioIrq
RadioIrqProcess
DIO1 add event
handle_event_queue: ev=0x4201b894
RadioOnDioIrq
RadioIrqProcess
IRQ_RX_TX_TIMEOUT
TimerStop: 0x4201b7d8
RadioOnDioIrq
RadioIrqProcess
RadioSleep
TimerStop: 0x4201c7a4
TimerStop: 0x4201c76c
OnTxData
###### =========== MCPS-Confirm ============ ######
STATUS : OK
###### ===== UPLINK FRAME 1 ===== ######
CLASS : A
TX PORT : 1
TX DATA : UNCONFIRMED
48 69 20 4E 75 74 74 58 00
DATA RATE : DR_3
U/L FREQ : 923400000
TX POWER : 0
CHANNEL MASK: 0003
TODO: EepromMcuWriteBuffer
TODO: EepromMcuWriteBuffer
UplinkProcess
===== All OK! BL602 has successfully joined the LoRaWAN Network
+ '[' pinedio == '' ']'
+ '[' 2022-05-10 == '' ']'
+ '[' /dev/ttyUSB1 == '' ']'
+ source /home/pi/.cargo/env
++ export PATH=/home/pi/.cargo/bin:/home/pi/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
++ PATH=/home/pi/.cargo/bin:/home/pi/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
+ set +x
----- Enable GPIO 5 and 6
----- Set GPIO 5 and 6 as output
----- Set GPIO 5 to Low (BL602 Normal Mode)
----- Toggle GPIO 6 High-Low-High (Reset BL602)
----- BL602 is now in Normal Mode
----- Toggle GPIO 6 High-Low-High (Reset BL602)
----- Here is the BL602 Output...
�gplh_enable: WARNING: pin9: Already detached
gplh_enable: WARNING: pin12: Already detached
gplh_enable: WARNING: pin19: Already detached
cst816s_register: path=/dev/input0, addr=21
cst816s_register: Driver registered
NuttShell (NSH) NuttX-10.3.0-RC0
nsh> uname -a
NuttX 10.3.0-RC0 3e60d2211d May 10 2022 01:55:54 risc-v bl602evb
nsh> ls /dev
/dev:
console
gpio10
gpio12
gpio14
gpio15
gpio19
gpio20
gpio21
gpio3
gpio9
i2c0
input0
lcd0
null
spi0
spitest0
timer0
urandom
zero
nsh>
----- Send command to BL602: lvgltest
nsh> lvgltest
tp_init: Opening /dev/input0
cst816s_open:
----- HELLO HUMAN: TOUCH PINEDIO STACK NOW
cst816s_poll_notify:
cst816s_get_touch_data:
cst816s_i2c_read:
bl602_i2c_transfer: subflag=0, subaddr=0x0, sublen=0
bl602_i2c_transfer: i2c transfer success
bl602_i2c_transfer: subflag=0, subaddr=0x0, sublen=0
bl602_i2c_transfer: i2c transfer success
cst816s_get_touch_data: DOWN: id=0, touch=0, x=134, y=140
cst816s_get_touch_data: id: 0
cst816s_get_touch_data: flags: 19
cst816s_get_touch_data: x: 134
cst816s_get_touch_data: y: 140
cst816s_get_touch_data:
cst816s_i2c_read:
bl602_i2c_transfer: subflag=0, subaddr=0x0, sublen=0
bl602_i2c_transfer: i2c transfer success
bl602_i2c_transfer: subflag=0, subaddr=0x0, sublen=0
bl602_i2c_transfer: i2c transfer success
cst816s_get_touch_data: DOWN: id=0, touch=0, x=134, y=140
cst816s_get_touch_data: id: 0
cst816s_get_touch_data: flags: 19
cst816s_get_touch_data: x: 134
cst816s_get_touch_data: y: 140
cst816s_get_touch_data:
cst816s_i2c_read:
bl602_i2c_transfer: subflg=0, subaddr=0x0, sublen=0
bl602_i2c_transfer: i2c transfer success
bl602_i2c_transfer: subflag=0, subaddr=0x0, sublen=0
bl602_i2c_transfer: i2c transfer success
cst816s_get_touch_data: Invalid touch data: id=1, touch=0, x=48, y=770
cst816s_get_touch_data: UP: id=0, touch=0, x=134, y=140
cst816s_get_touch_data: id: 0
cst816s_get_touch_data: flags: 0c
cst816s_get_touch_data: x: 134
cst816s_get_touch_data: y: 140
===== All OK! BL604 has responded to touch
Script done on 2022-05-10 10:01:22+08:00 [COMMAND_EXIT_CODE="0"]