config.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "def_cfg":{
  3. "ble_mac": "E0:C2:39:D6:16:6C",
  4. "ble_mac2": "E9:8B:FC:41:3F:CF",
  5. "ble_mac3": "DB:57:46:A6:14:22",
  6. "heart_beat_sel": 1,
  7. "input_interval": 5,
  8. "heart_beat_interval": 25,
  9. "notif_char": "0000ffe2-0000-1000-8000-00805f9b34fb",
  10. "write_char": "0000ffe1-0000-1000-8000-00805f9b34fb",
  11. "ble_mtu": 0,
  12. "ble_send_wait": 1.5,
  13. "head_send": "YL<",
  14. "head_recv": "YL>",
  15. "checknum_type": "sum16",
  16. "checknum_type1": "crc16",
  17. "aes_cbc_enbable": false,
  18. "aes_cbc_key_send": "",
  19. "aes_cbc_key_recv": "",
  20. "recv_detail_print": false,
  21. "recv_soc_data_print": true,
  22. "recv_analysis_data_print": false,
  23. "auto_send_GetConfigurationNumber": true
  24. },
  25. "cmd_list":
  26. [
  27. [
  28. "hex:00",
  29. "",
  30. "heart_beat_sel"
  31. ],
  32. [
  33. "hex:01",
  34. "",
  35. "get_soft_version"
  36. ],
  37. [
  38. "hex:04",
  39. "",
  40. "get_work_status"
  41. ],
  42. [
  43. "hex:05",
  44. "",
  45. "get_fire_version"
  46. ],
  47. [
  48. "hex:06",
  49. "",
  50. "get_fault_status"
  51. ],
  52. [
  53. "hex:07",
  54. "",
  55. "get_humidity"
  56. ],
  57. [
  58. "hex:08",
  59. "",
  60. "get_temperature"
  61. ],
  62. [
  63. "hex:09",
  64. "hex:00",
  65. "get_photosen"
  66. ],
  67. [
  68. "hex:80",
  69. "",
  70. "TestSet"
  71. ],
  72. [
  73. "hex:81",
  74. "str:wifi_ssid=WIFI24,wifi_pass=12345678,mqtt_host=qq.com,mqtt_port=1883,mqtt_user=user,mqtt_pass=123456,",
  75. "set_config"
  76. ],
  77. [
  78. "hex:83",
  79. "hex:00b4",
  80. "set_100m_time"
  81. ],
  82. [
  83. "hex:84",
  84. "hex:000a",
  85. "set_standing_time"
  86. ],
  87. [
  88. "hex:85",
  89. "hex:0258",
  90. "set_interval_time"
  91. ],
  92. [
  93. "hex:86",
  94. "hex:00 0190 012c 00c8 0064",
  95. "set_photosen"
  96. ],
  97. [
  98. "hex:87",
  99. "hex:18 0a 01 00 00 00",
  100. "set_time"
  101. ],
  102. [
  103. "hex:88",
  104. "",
  105. "set_reset"
  106. ]
  107. ]
  108. }