How to run the qf_mqttsn_ai_app demo with RECOGNITION mode

Post Reply
emma2rlx
Posts: 6
Joined: Wed Aug 26, 2020 1:20 am

Hi

I want to run the AI demo(qf_mqttsn_ai_app) with RECOGNITION mode, so could you give me some info what this AI mode for?
From the model's json file(model.json), I can see this model can recoginize the Horizontal/Stationary/Vertical actions. But run it on the feather board, no output. kb_run_model function return -1.
From debug, it is can be confirm that A sensor's data stream already be infused into kb_run_model function.


Thanks a lot
Jack
Posts: 17
Joined: Tue May 19, 2020 10:03 am

Can anyone help to answer this question? Thanks
murthy.vedula
Posts: 5
Joined: Thu Jun 04, 2020 11:31 pm

qf_mqttsn_ai_app uses MQTT-SN over UART to send the recognition results. Please refer https://sensiml.com/documentation/mqtt- ... ction.html. qorc-sdk/Tools provides bridge, rsmb and a simple host application smlhost.py to get started. After powering-on and resetting the quickfeather board, run the rsmb application, bridge application and then run "python smlhost.py --recog --accel" command to receive the recognition results
emma2rlx
Posts: 6
Joined: Wed Aug 26, 2020 1:20 am

Used your method to run the recognize mode, but still don't have output:

rsmb.exe .\rsmb_config.txt
MqttConsoleApp.exe -j .\options.json
py smlhost.py --recog --accel

Please see attachment log.
I used original v1.1.0 code, no modification
emma2rlx
Posts: 6
Joined: Wed Aug 26, 2020 1:20 am

rsmb logs

Microsoft Windows [Version 10.0.18362.1016]
(c) 2019 Microsoft Corporation. All rights reserved.

W:\qorc\v1.1.0\qorc-sdk-1.1.0\Tools\rsmb>rsmb.exe .\rsmb_config.txt
20200911 145530.661 CWNAN9999I Really Small Message Broker
20200911 145530.661 CWNAN9998I Part of Project Mosquitto in Eclipse
(http://projects.eclipse.org/projects/te ... .mosquitto)
20200911 145530.661 CWNAN0049I Configuration file name is .\rsmb_config.txt
20200911 145530.671 CWNAN0053I Version 1.3.0.2, Nov 19 2019 11:18:32
20200911 145530.671 CWNAN0054I Features included: bridge MQTTS
20200911 145530.672 CWNAN9993I Authors: Ian Craggs (icraggs@uk.ibm.com), Nicholas O'Leary
20200911 145530.684 CWNAN0014I MQTT protocol starting, listening on port 1883
20200911 145530.685 CWNAN0300I MQTT-S protocol starting, listening on port 1885
20200911 145616.359 356 127.0.0.1:57089 <- MQTT-S CONNECT cleansession: 1
20200911 145616.366 356 127.0.0.1:57089 QL_S3 -> MQTT-S WILLTOPICREQ (0)
20200911 145616.366 CWNAN0000I Client connected to udp port 1885 from QL_S3 (127.0.0.1:57089)
20200911 145616.369 356 127.0.0.1:57089 QL_S3 <- MQTT-S CONNECT cleansession: 1
20200911 145616.372 356 127.0.0.1:57089 QL_S3 -> MQTT-S WILLTOPICREQ (0)
20200911 145616.372 CWNAN0000I Client connected to udp port 1885 from QL_S3 (127.0.0.1:57089)
20200911 145616.374 356 127.0.0.1:57089 QL_S3 <- MQTT-S CONNECT cleansession: 1
20200911 145616.375 356 127.0.0.1:57089 QL_S3 -> MQTT-S WILLTOPICREQ (0)
20200911 145616.375 CWNAN0000I Client connected to udp port 1885 from QL_S3 (127.0.0.1:57089)
20200911 145616.377 356 127.0.0.1:57089 QL_S3 <- MQTT-S CONNECT cleansession: 1
20200911 145616.377 356 127.0.0.1:57089 QL_S3 -> MQTT-S WILLTOPICREQ (0)
20200911 145616.378 CWNAN0000I Client connected to udp port 1885 from QL_S3 (127.0.0.1:57089)
20200911 145616.400 356 127.0.0.1:57089 QL_S3 <- MQTT-S WILLTOPIC qos: 1 retained: 1: topicname sensiml/sy
20200911 145616.400 356 127.0.0.1:57089 QL_S3 -> MQTT-S WILLMSGREQ (0)
20200911 145616.410 356 127.0.0.1:57089 QL_S3 <- MQTT-S WILLTOPIC qos: 1 retained: 1: topicname sensiml/sy
20200911 145616.420 356 127.0.0.1:57089 QL_S3 <- MQTT-S WILLTOPIC qos: 1 retained: 1: topicname sensiml/sy
20200911 145616.430 356 127.0.0.1:57089 QL_S3 <- MQTT-S WILLTOPIC qos: 1 retained: 1: topicname sensiml/sy
20200911 145616.440 356 127.0.0.1:57089 QL_S3 <- MQTT-S WILLMSG msg: offline
20200911 145616.440 1970322128 127.0.0.1:57089 QL_S3 -> MQTT-S CONNACK returncode 0 (0)
20200911 145616.474 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 1 topicid: 0 topicname: sensiml/sy
20200911 145616.474 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 1 topicid: 1 returncode: 0 (0)
20200911 145616.478 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 2 qos: 1 topicIdType 0
20200911 145616.527 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 2 topicid: 2 returncode: 0 (0)
20200911 145616.531 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 3 qos: 1 topicIdType 0
20200911 145616.588 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 3 topicid: 3 returncode: 0 (0)
20200911 145616.650 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 4 topicid: 0 topicname: sensiml/sy
20200911 145616.650 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 4 topicid: 4 returncode: 0 (0)
20200911 145616.696 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 5 qos: 1 topicIdType 0
20200911 145616.696 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 5 topicid: 5 returncode: 0 (0)
20200911 145616.762 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 6 topicid: 0 topicname: sensiml/sy
20200911 145616.762 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 6 topicid: 6 returncode: 0 (0)
20200911 145616.811 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 7 qos: 1 topicIdType 0
20200911 145616.812 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 7 topicid: 7 returncode: 0 (0)
20200911 145616.865 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 8 qos: 1 topicIdType 0
20200911 145616.865 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 8 topicid: 8 returncode: 0 (0)
20200911 145616.919 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 9 topicid: 0 topicname: sensiml/sy
20200911 145616.919 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 9 topicid: 9 returncode: 0 (0)
20200911 145616.961 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 10 qos: 1 topicIdType 0
20200911 145616.961 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 10 topicid: 10 returncode: 0 (0)
20200911 145617.012 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 11 topicid: 0 topicname: sensiml/sy
20200911 145617.012 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 11 topicid: 11 returncode: 0 (0)
20200911 145617.054 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 12 qos: 1 topicIdType 0
20200911 145617.055 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 12 topicid: 12 returncode: 0 (0)
20200911 145617.109 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 13 qos: 1 topicIdType 0
20200911 145617.109 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 13 topicid: 13 returncode: 0 (0)
20200911 145617.160 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 14 topicid: 0 topicname: sensiml/li
20200911 145617.160 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 14 topicid: 14 returncode: 0 (0)
20200911 145617.164 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 15 qos: 1 topicIdType 0
20200911 145617.205 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 15 topicid: 15 returncode: 0 (0)
20200911 145617.210 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 16 topicid: 0 topicname: sensiml/li
20200911 145617.269 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 16 topicid: 16 returncode: 0 (0)
20200911 145617.319 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 17 qos: 1 topicIdType 0
20200911 145617.319 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 17 topicid: 17 returncode: 0 (0)
20200911 145617.382 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 18 topicid: 0 topicname: sensiml/li
20200911 145617.382 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 18 topicid: 18 returncode: 0 (0)
20200911 145617.430 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 19 qos: 1 topicIdType 0
20200911 145617.431 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 19 topicid: 19 returncode: 0 (0)
20200911 145617.484 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 20 qos: 1 topicIdType 0
20200911 145617.484 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 20 topicid: 20 returncode: 0 (0)
20200911 145617.537 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 21 topicid: 0 topicname: sensiml/re
20200911 145617.537 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 21 topicid: 21 returncode: 0 (0)
20200911 145617.542 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 22 qos: 1 topicIdType 0
20200911 145617.592 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 22 topicid: 22 returncode: 0 (0)
20200911 145617.597 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 23 qos: 1 topicIdType 0
20200911 145617.657 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 23 topicid: 23 returncode: 0 (0)
20200911 145617.720 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 24 topicid: 0 topicname: sensiml/re
20200911 145617.720 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 24 topicid: 24 returncode: 0 (0)
20200911 145617.770 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 25 qos: 1 topicIdType 0
20200911 145617.770 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 25 topicid: 25 returncode: 0 (0)
20200911 145617.824 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 26 qos: 1 topicIdType 0
20200911 145617.824 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 26 topicid: 26 returncode: 0 (0)
20200911 145617.890 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 27 qos: 1 topicIdType 0
20200911 145617.890 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 27 topicid: 27 returncode: 0 (0)
20200911 145617.954 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 28 topicid: 0 topicname: sensiml/st
20200911 145617.954 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 28 topicid: 28 returncode: 0 (0)
20200911 145618.003 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 29 qos: 1 topicIdType 0
20200911 145618.003 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 29 topicid: 29 returncode: 0 (0)
20200911 145618.066 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 30 topicid: 0 topicname: sensiml/st
20200911 145618.066 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 30 topicid: 30 returncode: 0 (0)
20200911 145618.070 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 31 qos: 1 topicIdType 0
20200911 145618.111 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 31 topicid: 31 returncode: 0 (0)
20200911 145618.115 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 32 qos: 1 topicIdType 0
20200911 145618.174 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 32 topicid: 32 returncode: 0 (0)
20200911 145618.178 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 33 qos: 1 topicIdType 0
20200911 145618.236 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 33 topicid: 33 returncode: 0 (0)
20200911 145618.241 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 34 topicid: 0 topicname: sensiml/st
20200911 145618.301 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 34 topicid: 34 returncode: 0 (0)
20200911 145618.350 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 35 qos: 1 topicIdType 0
20200911 145618.350 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 35 topicid: 35 returncode: 0 (0)
20200911 145618.404 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 36 qos: 1 topicIdType 0
20200911 145618.404 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 36 topicid: 36 returncode: 0 (0)
20200911 145618.471 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 37 qos: 1 topicIdType 0
20200911 145618.471 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 37 topicid: 37 returncode: 0 (0)
20200911 145618.531 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 38 qos: 1 topicIdType 0
20200911 145618.531 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 38 topicid: 38 returncode: 0 (0)
20200911 145618.584 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 39 qos: 1 topicIdType 0
20200911 145618.584 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 39 topicid: 39 returncode: 0 (0)
20200911 145618.646 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 40 qos: 1 topicIdType 0
20200911 145618.646 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 40 topicid: 40 returncode: 0 (0)
20200911 145618.700 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 41 qos: 1 topicIdType 0
20200911 145618.700 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 41 topicid: 41 returncode: 0 (0)
20200911 145618.754 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 42 qos: 1 topicIdType 0
20200911 145618.755 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 42 topicid: 42 returncode: 0 (0)
20200911 145618.817 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 43 topicid: 0 topicname: sensiml/se
20200911 145618.817 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 43 topicid: 43 returncode: 0 (0)
20200911 145618.822 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 44 qos: 1 topicIdType 0
20200911 145618.862 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 44 topicid: 44 returncode: 0 (0)
20200911 145618.928 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 45 qos: 1 topicIdType 0
20200911 145618.928 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 45 topicid: 45 returncode: 0 (0)
20200911 145618.990 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 46 qos: 1 topicIdType 0
20200911 145618.990 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 46 topicid: 46 returncode: 0 (0)
20200911 145619.059 356 127.0.0.1:57089 QL_S3 <- MQTT-S SUBSCRIBE msgid: 47 qos: 1 topicIdType 0
20200911 145619.059 356 127.0.0.1:57089 QL_S3 -> MQTT-S SUBACK msgid: 47 topicid: 47 returncode: 0 (0)
20200911 145619.118 356 127.0.0.1:57089 QL_S3 <- MQTT-S REGISTER msgid: 48 topicid: 0 topicname: sensiml/sy
20200911 145619.118 356 127.0.0.1:57089 QL_S3 -> MQTT-S REGACK msgid: 48 topicid: 48 returncode: 0 (0)
20200911 145619.169 356 127.0.0.1:57089 QL_S3 <- MQTT-S PUBLISH msgid: 49 qos: 1 retained: 1
20200911 145619.169 1970322128 127.0.0.1:57089 QL_S3 -> MQTT-S PUBACK msgid: 49 (0)
20200911 145619.222 356 127.0.0.1:57089 QL_S3 <- MQTT-S PUBLISH msgid: 50 qos: 1 retained: 0
20200911 145619.222 1970322128 127.0.0.1:57089 QL_S3 -> MQTT-S PUBACK msgid: 50 (0)
20200911 145721.769 356 127.0.0.1:57089 QL_S3 -> MQTT-S PINGRESP (0)
20200911 145824.253 356 127.0.0.1:57089 QL_S3 -> MQTT-S PINGRESP (0)
20200911 145949.722 360 SensiML-Host <- CONNECT
20200911 145949.723 CWNAN0033I Connection attempt to listener 1883 received from client SensiML-Host on address 127.0.0.1:55367
20200911 145949.725 360 SensiML-Host -> CONNACK rc: 0 (0)
20200911 145949.728 360 SensiML-Host <- SUBSCRIBE msgid: 1
20200911 145949.729 360 SensiML-Host -> SUBACK msgid: 1 (0)
20200911 145949.729 360 SensiML-Host -> PUBLISH msgid: 1 qos: 1 retained: 1 (0)
20200911 145949.732 360 SensiML-Host <- PUBLISH msgid: 2 qos: 1 retained: 0
20200911 145949.733 360 SensiML-Host -> PUBACK msgid: 2 (0)
20200911 145949.733 356 127.0.0.1:57089 QL_S3 -> MQTT-S PUBLISH msgid: 1 qos: 1 retained: 0 (0)
20200911 145949.742 360 SensiML-Host <- PUBACK msgid: 1
20200911 145949.935 360 SensiML-Host <- PUBLISH msgid: 3 qos: 1 retained: 0
20200911 145949.936 360 SensiML-Host -> PUBACK msgid: 3 (0)
20200911 150049.975 360 SensiML-Host <- PINGREQ
20200911 150049.975 360 SensiML-Host -> PINGRESP (0)
20200911 150150.008 360 SensiML-Host <- PINGREQ
20200911 150150.008 360 SensiML-Host -> PINGRESP (0)
20200911 150250.048 360 SensiML-Host <- PINGREQ
20200911 150250.048 360 SensiML-Host -> PINGRESP (0)
20200911 150350.092 360 SensiML-Host <- PINGREQ
20200911 150350.092 360 SensiML-Host -> PINGRESP (0)
emma2rlx
Posts: 6
Joined: Wed Aug 26, 2020 1:20 am

MqttConsoleApp logs

W:\qorc\v1.1.0\qorc-sdk-1.1.0\Tools\bridge>MqttConsoleApp.exe -j .\options.json
Executable: W:\qorc\v1.1.0\qorc-sdk-1.1.0\Tools\bridge\MqttConsoleApp.exe
Logfile: W:\qorc\v1.1.0\qorc-sdk-1.1.0\Tools\bridge\logfile.txt
#==================
# Started: 2020/9/11 14:56:13
# CWD: W:\qorc\v1.1.0\qorc-sdk-1.1.0\Tools\bridge
# User: jw936776
# Machine: FFM3VF2
# MSecsNow: 0.625
# Build Date: 2019-09-27 10:54:52
#==================
Options in effect:
{
"log_level": 10,
"log_filename": "logfile.txt",
"BrokerPort": 9999,
"GatewayIP": "127.0.0.1",
"GatewayPort": 1885,
"BLEServiceUUID": "6E400001-B5A3-F393-E0A9-E50E24DCCA9E",
"BLEReceiveUUID": "6E400003-B5A3-F393-E0A9-E50E24DCCA9E",
"BLETransmitUUID": "6E400002-B5A3-F393-E0A9-E50E24DCCA9E",
"SerialPortNum": 15,
"BaudRate": 115200,
"MqttsnDecodePackets": true,
"BrokerOnly": false,
"NoBroker": true
}
Starting bridge...
uart: COM15 @ 115200
Connect: 127.0.0.1:1885

Socket & Device Ready
Press S to toggle Start/Stop

Press Q to quit

S
START
uart: COM15 start
Start: Gateway 127.0.0.1:1885
Hexdump: uart->socket Connect flags: (Dup:False QoS:0 retain: False Will: True clean: True topic: 0) p:0x01 d:60 c:QL_S3
00000000: 0b 04 0c 01 00 3c 51 4c-5f 53 33 |.....<QL-_S3 |
Hexdump: uart->socket Connect flags: (Dup:False QoS:0 retain: False Will: True clean: True topic: 0) p:0x01 d:60 c:QL_S3
00000000: 0b 04 0c 01 00 3c 51 4c-5f 53 33 |.....<QL-_S3 |
Hexdump: uart->socket Connect flags: (Dup:False QoS:0 retain: False Will: True clean: True topic: 0) p:0x01 d:60 c:QL_S3
00000000: 0b 04 0c 01 00 3c 51 4c-5f 53 33 |.....<QL-_S3 |
Hexdump: udp->device Willtopicreq
Hexdump: uart->socket Connect flags: (Dup:False QoS:0 retain: False Will: True clean: True topic: 0) p:0x01 d:60 c:QL_S3
00000000: 0b 04 0c 01 00 3c 51 4c-5f 53 33 |.....<QL-_S3 |
00000000: 02 06 - |.. - |
Hexdump: udp->device Willtopicreq
00000000: 02 06 - |.. - |
Hexdump: udp->device Willtopicreq
00000000: 02 06 - |.. - |
Hexdump: udp->device Willtopicreq
00000000: 02 06 - |.. - |
Hexdump: uart->socket Willtopic flags: (Dup:False QoS:1 retain: True Will: False clean: False topic: 48) topic: sensiml/sys/will/status
00000000: 1a 07 30 73 65 6e 73 69-6d 6c 2f 73 79 73 2f 77 |..0sensi-ml/sys/w|
00000010: 69 6c 6c 2f 73 74 61 74-75 73 |ill/stat-us |
Hexdump: udp->device Willmsgreq
00000000: 02 08 - |.. - |
Hexdump: uart->socket Willtopic flags: (Dup:False QoS:1 retain: True Will: False clean: False topic: 48) topic: sensiml/sys/will/status
00000000: 1a 07 30 73 65 6e 73 69-6d 6c 2f 73 79 73 2f 77 |..0sensi-ml/sys/w|
00000010: 69 6c 6c 2f 73 74 61 74-75 73 |ill/stat-us |
Hexdump: uart->socket Willtopic flags: (Dup:False QoS:1 retain: True Will: False clean: False topic: 48) topic: sensiml/sys/will/status
00000000: 1a 07 30 73 65 6e 73 69-6d 6c 2f 73 79 73 2f 77 |..0sensi-ml/sys/w|
00000010: 69 6c 6c 2f 73 74 61 74-75 73 |ill/stat-us |
Hexdump: uart->socket Willtopic flags: (Dup:False QoS:1 retain: True Will: False clean: False topic: 48) topic: sensiml/sys/will/status
00000000: 1a 07 30 73 65 6e 73 69-6d 6c 2f 73 79 73 2f 77 |..0sensi-ml/sys/w|
00000010: 69 6c 6c 2f 73 74 61 74-75 73 |ill/stat-us |
Hexdump: uart->socket Willmsg
00000000: 09 09 6f 66 66 6c 69 6e-65 |..offlin-e |
Hexdump: udp->device Connack rc(0)
00000000: 03 05 00 - |... - |
Hexdump: uart->socket Register msgid(0x0001) topic(0x0000)
00000000: 1d 0a 00 00 00 01 73 65-6e 73 69 6d 6c 2f 73 79 |......se-nsiml/sy|
00000010: 73 2f 77 69 6c 6c 2f 73-74 61 74 75 73 |s/will/s-tatus |
Hexdump: udp->device Regack msgid(0x0001) rc(0) topic(0x0001) sensiml/sys/will/status
00000000: 07 0b 00 01 00 01 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0002) text:sensiml/sys/all/stop
00000000: 19 12 20 00 02 73 65 6e-73 69 6d 6c 2f 73 79 73 |.. ..sen-siml/sys|
00000010: 2f 61 6c 6c 2f 73 74 6f-70 |/all/sto-p |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0002) rc(0) topic(0x0002)
00000000: 08 13 2d 00 02 00 02 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0003) text:sensiml/sys/version/req
00000000: 1c 12 20 00 03 73 65 6e-73 69 6d 6c 2f 73 79 73 |.. ..sen-siml/sys|
00000010: 2f 76 65 72 73 69 6f 6e-2f 72 65 71 |/version-/req |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0003) rc(0) topic(0x0003)
00000000: 08 13 2d 00 03 00 03 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x0004) topic(0x0000)
00000000: 1d 0a 00 00 00 04 73 65-6e 73 69 6d 6c 2f 73 79 |......se-nsiml/sy|
00000010: 73 2f 76 65 72 73 69 6f-6e 2f 72 73 70 |s/versio-n/rsp |
Hexdump: udp->device Regack msgid(0x0004) rc(0) topic(0x0004) sensiml/sys/version/rsp
00000000: 07 0b 00 04 00 04 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0005) text:sensiml/sys/compdatetime/req
00000000: 21 12 20 00 05 73 65 6e-73 69 6d 6c 2f 73 79 73 |!. ..sen-siml/sys|
00000010: 2f 63 6f 6d 70 64 61 74-65 74 69 6d 65 2f 72 65 |/compdat-etime/re|
00000020: 71 - |q - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0005) rc(0) topic(0x0005)
00000000: 08 13 2d 00 05 00 05 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x0006) topic(0x0000)
00000000: 22 0a 00 00 00 06 73 65-6e 73 69 6d 6c 2f 73 79 |".....se-nsiml/sy|
00000010: 73 2f 63 6f 6d 70 64 61-74 65 74 69 6d 65 2f 72 |s/compda-tetime/r|
00000020: 73 70 - |sp - |
Hexdump: udp->device Regack msgid(0x0006) rc(0) topic(0x0006) sensiml/sys/compdatetime/rsp
00000000: 07 0b 00 06 00 06 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0007) text:sensiml/sys/unixtime/set
00000000: 1d 12 20 00 07 73 65 6e-73 69 6d 6c 2f 73 79 73 |.. ..sen-siml/sys|
00000010: 2f 75 6e 69 78 74 69 6d-65 2f 73 65 74 |/unixtim-e/set |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0007) rc(0) topic(0x0007)
00000000: 08 13 2d 00 07 00 07 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0008) text:sensiml/sys/status/req
00000000: 1b 12 20 00 08 73 65 6e-73 69 6d 6c 2f 73 79 73 |.. ..sen-siml/sys|
00000010: 2f 73 74 61 74 75 73 2f-72 65 71 |/status/-req |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0008) rc(0) topic(0x0008)
00000000: 08 13 2d 00 08 00 08 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x0009) topic(0x0000)
00000000: 1c 0a 00 00 00 09 73 65-6e 73 69 6d 6c 2f 73 79 |......se-nsiml/sy|
00000010: 73 2f 73 74 61 74 75 73-2f 72 73 70 |s/status-/rsp |
Hexdump: udp->device Regack msgid(0x0009) rc(0) topic(0x0009) sensiml/sys/status/rsp
00000000: 07 0b 00 09 00 09 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x000a) text:sensiml/sys/status/clr
00000000: 1b 12 20 00 0a 73 65 6e-73 69 6d 6c 2f 73 79 73 |.. ..sen-siml/sys|
00000010: 2f 73 74 61 74 75 73 2f-63 6c 72 |/status/-clr |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x000a) rc(0) topic(0x000a)
00000000: 08 13 2d 00 0a 00 0a 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x000b) topic(0x0000)
00000000: 17 0a 00 00 00 0b 73 65-6e 73 69 6d 6c 2f 73 79 |......se-nsiml/sy|
00000010: 73 2f 65 72 72 6f 72 - |s/error - |
Hexdump: udp->device Regack msgid(0x000b) rc(0) topic(0x000b) sensiml/sys/error
00000000: 07 0b 00 0b 00 0b 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x000c) text:sensiml/live/start
00000000: 17 12 20 00 0c 73 65 6e-73 69 6d 6c 2f 6c 69 76 |.. ..sen-siml/liv|
00000010: 65 2f 73 74 61 72 74 - |e/start - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x000c) rc(0) topic(0x000c)
00000000: 08 13 2d 00 0c 00 0c 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x000d) text:sensiml/live/stop
00000000: 16 12 20 00 0d 73 65 6e-73 69 6d 6c 2f 6c 69 76 |.. ..sen-siml/liv|
00000010: 65 2f 73 74 6f 70 - |e/stop - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x000d) rc(0) topic(0x000d)
00000000: 08 13 2d 00 0d 00 0d 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x000e) topic(0x0000)
00000000: 1b 0a 00 00 00 0e 73 65-6e 73 69 6d 6c 2f 6c 69 |......se-nsiml/li|
00000010: 76 65 2f 72 61 77 2f 64-61 74 61 |ve/raw/d-ata |
Hexdump: udp->device Regack msgid(0x000e) rc(0) topic(0x000e) sensiml/live/raw/data
00000000: 07 0b 00 0e 00 0e 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x000f) text:sensiml/live/sensor/list/req
00000000: 21 12 20 00 0f 73 65 6e-73 69 6d 6c 2f 6c 69 76 |!. ..sen-siml/liv|
00000010: 65 2f 73 65 6e 73 6f 72-2f 6c 69 73 74 2f 72 65 |e/sensor-/list/re|
00000020: 71 - |q - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x000f) rc(0) topic(0x000f)
00000000: 08 13 2d 00 0f 00 0f 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x0010) topic(0x0000)
00000000: 22 0a 00 00 00 10 73 65-6e 73 69 6d 6c 2f 6c 69 |".....se-nsiml/li|
00000010: 76 65 2f 73 65 6e 73 6f-72 2f 6c 69 73 74 2f 72 |ve/senso-r/list/r|
00000020: 73 70 - |sp - |
Hexdump: udp->device Regack msgid(0x0010) rc(0) topic(0x0010) sensiml/live/sensor/list/rsp
00000000: 07 0b 00 10 00 10 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0011) text:sensiml/live/set/rate/req
00000000: 1e 12 20 00 11 73 65 6e-73 69 6d 6c 2f 6c 69 76 |.. ..sen-siml/liv|
00000010: 65 2f 73 65 74 2f 72 61-74 65 2f 72 65 71 |e/set/ra-te/req |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0011) rc(0) topic(0x0011)
00000000: 08 13 2d 00 11 00 11 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x0012) topic(0x0000)
00000000: 1f 0a 00 00 00 12 73 65-6e 73 69 6d 6c 2f 6c 69 |......se-nsiml/li|
00000010: 76 65 2f 73 65 74 2f 72-61 74 65 2f 72 73 70 |ve/set/r-ate/rsp |
Hexdump: udp->device Regack msgid(0x0012) rc(0) topic(0x0012) sensiml/live/set/rate/rsp
00000000: 07 0b 00 12 00 12 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0013) text:sensiml/result/class/start
00000000: 1f 12 20 00 13 73 65 6e-73 69 6d 6c 2f 72 65 73 |.. ..sen-siml/res|
00000010: 75 6c 74 2f 63 6c 61 73-73 2f 73 74 61 72 74 |ult/clas-s/start |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0013) rc(0) topic(0x0013)
00000000: 08 13 2d 00 13 00 13 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0014) text:sensiml/result/class/stop
00000000: 1e 12 20 00 14 73 65 6e-73 69 6d 6c 2f 72 65 73 |.. ..sen-siml/res|
00000010: 75 6c 74 2f 63 6c 61 73-73 2f 73 74 6f 70 |ult/clas-s/stop |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0014) rc(0) topic(0x0014)
00000000: 08 13 2d 00 14 00 14 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x0015) topic(0x0000)
00000000: 1f 0a 00 00 00 15 73 65-6e 73 69 6d 6c 2f 72 65 |......se-nsiml/re|
00000010: 73 75 6c 74 2f 63 6c 61-73 73 2f 64 61 74 61 |sult/cla-ss/data |
Hexdump: udp->device Regack msgid(0x0015) rc(0) topic(0x0015) sensiml/result/class/data
00000000: 07 0b 00 15 00 15 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0016) text:sensiml/result/class/set/rate
00000000: 22 12 20 00 16 73 65 6e-73 69 6d 6c 2f 72 65 73 |". ..sen-siml/res|
00000010: 75 6c 74 2f 63 6c 61 73-73 2f 73 65 74 2f 72 61 |ult/clas-s/set/ra|
00000020: 74 65 - |te - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0016) rc(0) topic(0x0016)
00000000: 08 13 2d 00 16 00 16 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0017) text:sensiml/recog/model/uuid/req
00000000: 21 12 20 00 17 73 65 6e-73 69 6d 6c 2f 72 65 63 |!. ..sen-siml/rec|
00000010: 6f 67 2f 6d 6f 64 65 6c-2f 75 75 69 64 2f 72 65 |og/model-/uuid/re|
00000020: 71 - |q - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0017) rc(0) topic(0x0017)
00000000: 08 13 2d 00 17 00 17 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x0018) topic(0x0000)
00000000: 22 0a 00 00 00 18 73 65-6e 73 69 6d 6c 2f 72 65 |".....se-nsiml/re|
00000010: 63 6f 67 2f 6d 6f 64 65-6c 2f 75 75 69 64 2f 72 |cog/mode-l/uuid/r|
00000020: 73 70 - |sp - |
Hexdump: udp->device Regack msgid(0x0018) rc(0) topic(0x0018) sensiml/recog/model/uuid/rsp
00000000: 07 0b 00 18 00 18 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0019) text:sensiml/recog/start
00000000: 18 12 20 00 19 73 65 6e-73 69 6d 6c 2f 72 65 63 |.. ..sen-siml/rec|
00000010: 6f 67 2f 73 74 61 72 74- |og/start- |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0019) rc(0) topic(0x0019)
00000000: 08 13 2d 00 19 00 19 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x001a) text:sensiml/recog/stop
00000000: 17 12 20 00 1a 73 65 6e-73 69 6d 6c 2f 72 65 63 |.. ..sen-siml/rec|
00000010: 6f 67 2f 73 74 6f 70 - |og/stop - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x001a) rc(0) topic(0x001a)
00000000: 08 13 2d 00 1a 00 1a 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x001b) text:sensiml/storage/dir/req
00000000: 1c 12 20 00 1b 73 65 6e-73 69 6d 6c 2f 73 74 6f |.. ..sen-siml/sto|
00000010: 72 61 67 65 2f 64 69 72-2f 72 65 71 |rage/dir-/req |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x001b) rc(0) topic(0x001b)
00000000: 08 13 2d 00 1b 00 1b 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x001c) topic(0x0000)
00000000: 1d 0a 00 00 00 1c 73 65-6e 73 69 6d 6c 2f 73 74 |......se-nsiml/st|
00000010: 6f 72 61 67 65 2f 64 69-72 2f 72 73 70 |orage/di-r/rsp |
Hexdump: udp->device Regack msgid(0x001c) rc(0) topic(0x001c) sensiml/storage/dir/rsp
00000000: 07 0b 00 1c 00 1c 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x001d) text:sensiml/storage/space/req
00000000: 1e 12 20 00 1d 73 65 6e-73 69 6d 6c 2f 73 74 6f |.. ..sen-siml/sto|
00000010: 72 61 67 65 2f 73 70 61-63 65 2f 72 65 71 |rage/spa-ce/req |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x001d) rc(0) topic(0x001d)
00000000: 08 13 2d 00 1d 00 1d 00- |..-.....- |
Hexdump: uart->socket Register msgid(0x001e) topic(0x0000)
00000000: 1f 0a 00 00 00 1e 73 65-6e 73 69 6d 6c 2f 73 74 |......se-nsiml/st|
00000010: 6f 72 61 67 65 2f 73 70-61 63 65 2f 72 73 70 |orage/sp-ace/rsp |
Hexdump: udp->device Regack msgid(0x001e) rc(0) topic(0x001e) sensiml/storage/space/rsp
00000000: 07 0b 00 1e 00 1e 00 - |....... - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x001f) text:sensiml/storage/del
00000000: 18 12 20 00 1f 73 65 6e-73 69 6d 6c 2f 73 74 6f |.. ..sen-siml/sto|
00000010: 72 61 67 65 2f 64 65 6c- |rage/del- |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x001f) rc(0) topic(0x001f)
00000000: 08 13 2d 00 1f 00 1f 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0020) text:sensiml/storage/get/start
00000000: 1e 12 20 00 20 73 65 6e-73 69 6d 6c 2f 73 74 6f |.. . sen-siml/sto|
00000010: 72 61 67 65 2f 67 65 74-2f 73 74 61 72 74 |rage/get-/start |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0020) rc(0) topic(0x0020)
00000000: 08 13 2d 00 20 00 20 00- |..-. . .- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0021) text:sensiml/storage/get/data/req
00000000: 21 12 20 00 21 73 65 6e-73 69 6d 6c 2f 73 74 6f |!. .!sen-siml/sto|
00000010: 72 61 67 65 2f 67 65 74-2f 64 61 74 61 2f 72 65 |rage/get-/data/re|
00000020: 71 - |q - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0021) rc(0) topic(0x0021)
00000000: 08 13 2d 00 21 00 21 00- |..-.!.!.- |
Hexdump: uart->socket Register msgid(0x0022) topic(0x0000)
00000000: 22 0a 00 00 00 22 73 65-6e 73 69 6d 6c 2f 73 74 |"...."se-nsiml/st|
00000010: 6f 72 61 67 65 2f 67 65-74 2f 64 61 74 61 2f 72 |orage/ge-t/data/r|
00000020: 73 70 - |sp - |
Hexdump: udp->device Regack msgid(0x0022) rc(0) topic(0x0022) sensiml/storage/get/data/rsp
00000000: 07 0b 00 22 00 22 00 - |...".". - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0023) text:sensiml/storage/get/stop
00000000: 1d 12 20 00 23 73 65 6e-73 69 6d 6c 2f 73 74 6f |.. .#sen-siml/sto|
00000010: 72 61 67 65 2f 67 65 74-2f 73 74 6f 70 |rage/get-/stop |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0023) rc(0) topic(0x0023)
00000000: 08 13 2d 00 23 00 23 00- |..-.#.#.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0024) text:sensiml/storage/put/start
00000000: 1e 12 20 00 24 73 65 6e-73 69 6d 6c 2f 73 74 6f |.. .$sen-siml/sto|
00000010: 72 61 67 65 2f 70 75 74-2f 73 74 61 72 74 |rage/put-/start |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0024) rc(0) topic(0x0024)
00000000: 08 13 2d 00 24 00 24 00- |..-.$.$.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0025) text:sensiml/storage/put/data/req
00000000: 21 12 20 00 25 73 65 6e-73 69 6d 6c 2f 73 74 6f |!. .%sen-siml/sto|
00000010: 72 61 67 65 2f 70 75 74-2f 64 61 74 61 2f 72 65 |rage/put-/data/re|
00000020: 71 - |q - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0025) rc(0) topic(0x0025)
00000000: 08 13 2d 00 25 00 25 00- |..-.%.%.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0026) text:sensiml/storage/put/stop
00000000: 1d 12 20 00 26 73 65 6e-73 69 6d 6c 2f 73 74 6f |.. .&sen-siml/sto|
00000010: 72 61 67 65 2f 70 75 74-2f 73 74 6f 70 |rage/put-/stop |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0026) rc(0) topic(0x0026)
00000000: 08 13 2d 00 26 00 26 00- |..-.&.&.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0027) text:sensiml/collect/prefix/set
00000000: 1f 12 20 00 27 73 65 6e-73 69 6d 6c 2f 63 6f 6c |.. .'sen-siml/col|
00000010: 6c 65 63 74 2f 70 72 65-66 69 78 2f 73 65 74 |lect/pre-fix/set |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0027) rc(0) topic(0x0027)
00000000: 08 13 2d 00 27 00 27 00- |..-.'.'.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0028) text:sensiml/collect/start
00000000: 1a 12 20 00 28 73 65 6e-73 69 6d 6c 2f 63 6f 6c |.. .(sen-siml/col|
00000010: 6c 65 63 74 2f 73 74 61-72 74 |lect/sta-rt |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0028) rc(0) topic(0x0028)
00000000: 08 13 2d 00 28 00 28 00- |..-.(.(.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0029) text:sensiml/collect/stop
00000000: 19 12 20 00 29 73 65 6e-73 69 6d 6c 2f 63 6f 6c |.. .)sen-siml/col|
00000010: 6c 65 63 74 2f 73 74 6f-70 |lect/sto-p |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x0029) rc(0) topic(0x0029)
00000000: 08 13 2d 00 29 00 29 00- |..-.).).- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x002a) text:sensiml/sensor/list/req
00000000: 1c 12 20 00 2a 73 65 6e-73 69 6d 6c 2f 73 65 6e |.. .*sen-siml/sen|
00000010: 73 6f 72 2f 6c 69 73 74-2f 72 65 71 |sor/list-/req |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x002a) rc(0) topic(0x002a)
00000000: 08 13 2d 00 2a 00 2a 00- |..-.*.*.- |
Hexdump: uart->socket Register msgid(0x002b) topic(0x0000)
00000000: 1d 0a 00 00 00 2b 73 65-6e 73 69 6d 6c 2f 73 65 |.....+se-nsiml/se|
00000010: 6e 73 6f 72 2f 6c 69 73-74 2f 72 73 70 |nsor/lis-t/rsp |
Hexdump: udp->device Regack msgid(0x002b) rc(0) topic(0x002b) sensiml/sensor/list/rsp
00000000: 07 0b 00 2b 00 2b 00 - |...+.+. - |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x002c) text:sensiml/sensor/clr
00000000: 17 12 20 00 2c 73 65 6e-73 69 6d 6c 2f 73 65 6e |.. .,sen-siml/sen|
00000010: 73 6f 72 2f 63 6c 72 - |sor/clr - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x002c) rc(0) topic(0x002c)
00000000: 08 13 2d 00 2c 00 2c 00- |..-.,.,.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x002d) text:sensiml/sensor/add
00000000: 17 12 20 00 2d 73 65 6e-73 69 6d 6c 2f 73 65 6e |.. .-sen-siml/sen|
00000010: 73 6f 72 2f 61 64 64 - |sor/add - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x002d) rc(0) topic(0x002d)
00000000: 08 13 2d 00 2d 00 2d 00- |..-.-.-.- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x002e) text:sensiml/sensor/done
00000000: 18 12 20 00 2e 73 65 6e-73 69 6d 6c 2f 73 65 6e |.. ..sen-siml/sen|
00000010: 73 6f 72 2f 64 6f 6e 65- |sor/done- |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x002e) rc(0) topic(0x002e)
00000000: 08 13 2d 00 2e 00 2e 00- |..-.....- |
Hexdump: uart->socket Subscribe flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x002f) text:sensiml/sys/device/uuids/req
00000000: 21 12 20 00 2f 73 65 6e-73 69 6d 6c 2f 73 79 73 |!. ./sen-siml/sys|
00000010: 2f 64 65 76 69 63 65 2f-75 75 69 64 73 2f 72 65 |/device/-uuids/re|
00000020: 71 - |q - |
Hexdump: udp->device Suback flags: (Dup:False QoS:1 retain: False Will: True clean: True topic: 32) msgid(0x002f) rc(0) topic(0x002f)
00000000: 08 13 2d 00 2f 00 2f 00- |..-././.- |
Hexdump: uart->socket Register msgid(0x0030) topic(0x0000)
00000000: 22 0a 00 00 00 30 73 65-6e 73 69 6d 6c 2f 73 79 |"....0se-nsiml/sy|
00000010: 73 2f 64 65 76 69 63 65-2f 75 75 69 64 73 2f 72 |s/device-/uuids/r|
00000020: 73 70 - |sp - |
Hexdump: udp->device Regack msgid(0x0030) rc(0) topic(0x0030) sensiml/sys/device/uuids/rsp
00000000: 07 0b 00 30 00 30 00 - |...0.0. - |
Hexdump: uart->socket Publish flags: (Dup:False QoS:1 retain: True Will: False clean: False topic: 48) msgid(0x0031) topic(0x0001) sensiml/sys/will/status
00000000: 0d 0c 30 00 01 00 31 6f-6e 6c 69 6e 65 |..0...1o-nline |
Hexdump: udp->device Puback msgid(0x0031) rc(0) topic(0x0001) sensiml/sys/will/status
00000000: 07 0d 00 01 00 31 00 - |.....1. - |
Hexdump: uart->socket Publish flags: (Dup:False QoS:1 retain: False Will: False clean: False topic: 32) msgid(0x0032) topic(0x0030) sensiml/sys/device/uuids/rsp
00000000: 27 0c 20 00 30 00 32 4d-36 e9 78 e3 25 11 ce bf |'. .0.2M-6.x.%...|
00000010: c1 08 00 2b e1 03 18 00-00 00 00 00 00 00 00 00 |...+....-........|
00000020: 00 00 00 00 00 00 00 - |....... - |
Hexdump: udp->device Puback msgid(0x0032) rc(0) topic(0x0030) sensiml/sys/device/uuids/rsp
00000000: 07 0d 00 30 00 32 00 - |...0.2. - |
6.047 | spin start
66.187 | / | udp-idle: 127.0.0.1:1885 | COM15: idle
68.578 | end spinner
Hexdump: uart->socket Pingreq
00000000: 07 16 51 4c 5f 53 33 - |..QL_S3 - |
Hexdump: udp->device Pingresp
00000000: 02 17 - |.. - |
68.609 | spin start
128.718 | * | udp-idle: 127.0.0.1:1885 | COM15: idle
131.062 | end spinner
Hexdump: uart->socket Pingreq
00000000: 07 16 51 4c 5f 53 33 - |..QL_S3 - |
Hexdump: udp->device Pingresp
00000000: 02 17 - |.. - |
131.078 | spin start
166.172 | + | udp-idle: 127.0.0.1:1885 | COM15: idle
emma2rlx
Posts: 6
Joined: Wed Aug 26, 2020 1:20 am

smlhost logs

Microsoft Windows [Version 10.0.18362.1016]
(c) 2019 Microsoft Corporation. All rights reserved.

W:\qorc\v1.1.0\qorc-sdk-1.1.0\Tools\dclsim>py smlhost.py --recog --accel
Namespace(accel=True, accel_count_down=0, accel_range=2, accel_rate=100, accel_spp=8, clear=False, features=False, filename='outdata.bin', live=False, log=False, recog=True, timeout=5)
Configuring Accelerometer @100 Hz, 2G, 0 count-down, 8 samples-per-packet
Testing recognition mode ...
Connected with result code 0
emma2rlx
Posts: 6
Joined: Wed Aug 26, 2020 1:20 am

And, on smlhost side, I can see below data: What is this mean?
sensiml/result/class/data 010005af0b458c54d800000001
sensiml/result/class/data 010005af0b45994d2800000001
sensiml/result/class/data 010005af0b45a6457800000001
sensiml/result/class/data 010005af0b45b33dc800000001
sensiml/result/class/data 010005af0b45c0361800000001
sensiml/result/class/data 010005af0b45cd325000000001
sensiml/result/class/data 010005af0b45da26b800000001
sensiml/result/class/data 010005af0b45e71f0800000001
sensiml/result/class/data 010005af0b45f4175800000001
sensiml/result/class/data 010005af0b46010fa800000001
sensiml/result/class/data 010005af0b460e07f800000001
sensiml/result/class/data 010005af0b461b004800000001
sensiml/result/class/data 010005af0b4627f89800000001
sensiml/result/class/data 010005af0b4634f0e800000001
sensiml/result/class/data 010005af0b4641e93800000001
sensiml/result/class/data 010005af0b464ee18800000001
sensiml/result/class/data 010005af0b465bd9d800000001
sensiml/result/class/data 010005af0b4668d22800000001
sensiml/result/class/data 010005af0b4675ca7800000001
sensiml/result/class/data 010005af0b4682c2c800000001
sensiml/result/class/data 010005af0b468fbb1800000001
sensiml/result/class/data 010005af0b469cb36800000001
sensiml/result/class/data 010005af0b46a9abb800000001
sensiml/result/class/data 010005af0b46b6a40800000001
sensiml/result/class/data 010005af0b46c39c5800000001
sensiml/result/class/data 010005af0b46d094a800000001
sensiml/result/class/data 010005af0b46dd8cf800000001
sensiml/result/class/data 010005af0b46ea854800000001
sensiml/result/class/data 010005af0b46f77d9800000001
sensiml/result/class/data 010005af0b470475e800000001
sensiml/result/class/data 010005af0b47116e3800000001
sensiml/result/class/data 010005af0b471e668800000001
sensiml/result/class/data 010005af0b472b5ed800000001
sensiml/result/class/data 010005af0b4738572800000001
sensiml/result/class/data 010005af0b47454f7800000001
sensiml/result/class/data 010005af0b475247c800000001
sensiml/result/class/data 010005af0b475f401800000001
sensiml/result/class/data 010005af0b476c386800000001
sensiml/result/class/data 010005af0b477930b800000001
sensiml/result/class/data 010005af0b4786290800000001
sensiml/result/class/data 010005af0b4793215800000001
sensiml/result/class/data 010005af0b47a019a800000001
sensiml/result/class/data 010005af0b47ad11f800000001
sensiml/result/class/data 010005af0b47ba0a4800000001
sensiml/result/class/data 010005af0b47c7029800000001
sensiml/result/class/data 010005af0b47d3fae800000001
sensiml/result/class/data 010005af0b47e0f33800000001
sensiml/result/class/data 010005af0b47edeb8800000001
sensiml/result/class/data 010005af0b47fae3d800000001
sensiml/result/class/data 010005af0b4807dc2800000001
sensiml/result/class/data 010005af0b4814d47800000001
sensiml/result/class/data 010005af0b4821ccc800000001
sensiml/result/class/data 010005af0b482ec51800000001
murthy.vedula
Posts: 5
Joined: Thu Jun 04, 2020 11:31 pm

> And, on smlhost side, I can see below data: What is this mean?
> sensiml/result/class/data 010005af0b458c54d800000001

Data is hex-encoded bytes of classification results.
Classification results are output in one of the following formats based on whether features are requested or not (--features flag for when running the python smlhost.py --recog)

1. When features selection is not enabled, classification result data will have the following format:
Datatype (2bytes), timestamp (8bytes), model (2bytes), class_result(2bytes)

2. When features selection is enabled, classification result data will have the following format:
Datatype (2bytes), timestamp (8bytes), model (2bytes), class_result(2bytes), feature_count(1byte), feature_list(1byte/feature)
jmoore
Posts: 1
Joined: Fri Oct 16, 2020 4:52 pm

If you happen to have a TTL to USB cable/adapter to connect the EOS-S3 uart (not the micro-usb port), You can use an application like TeraTerm or PuTTY to view the text output. It will be a JSON string along the lines of:
{"ModelNumber":0,"Classification":0,"FeatureLength":17,"FeatureVector":["0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"]}
Post Reply