Skip to content

Datatellit/VegeSense-act-cmd-generator

Repository files navigation

VegeSense-act-cmd-generator

This is a supporting tool for VegeSense Smart Planting Station.

To generate an Action-cmd-list

  1. Open and edit main.cpp, configure your action-cmd-list
  2. Save your program, then execute run_me.bat to generate action-cmd-list string
  3. Copy the string, which should start with 4346, and paste it into CldStreamMsg could function (see next step)

To upload the Action-cmd-list onto VegeSense Smart Planting Station (Gateway or SmartController)

  1. Login cloud platform
  2. Call CldStreamMsg cloud function by adding the action-cmd-list string generated by the tool.

//------------------------------------------------------- // Example: 添加Action-cmd-list命令列表 // API: CldStreamMsg // 数据帧格式: // 0 1 2 3 4 5 6 7 8 9 - // ['C']['F'][total_pack][current_pack][len_h][len_low][uid][crc16_high][crc16_low][cmdlist data: sizeof(cmdItem_t) * cmdCount] //------------------------------------------------------- 434601010036018D1808092900000600014100AC0D000000000000FF2915000005010117010300000000000000FF4902000003000405000000000000000000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published