bug
This commit is contained in:
parent
748d892146
commit
b33bba3dd2
@ -22,9 +22,9 @@ int topicSubCount = sizeof(topicSub) / sizeof(topicSub[0]);
|
|||||||
/*有更新主动发送 主题*/
|
/*有更新主动发送 主题*/
|
||||||
//0:心跳信息 1:电压信息 2:电流信息 3:电池电量 4:高度信息 5:对地速度 6:卫星数量 7:纬度 8:经度 9:定位状态 10:飞机状态 11:网速测试 12:飞机模式 13:重量 14:钩子状态 15:飞机海拔高度
|
//0:心跳信息 1:电压信息 2:电流信息 3:电池电量 4:高度信息 5:对地速度 6:卫星数量 7:纬度 8:经度 9:定位状态 10:飞机状态 11:网速测试 12:飞机模式 13:重量 14:钩子状态 15:飞机海拔高度
|
||||||
String topicPub[] = { "heartBeat", "voltagBattery", "currentBattery", "batteryRemaining", "positionAlt", "groundSpeed", "satCount", "latitude", "longitude", "fixType", "planeState", "pingNet", "getPlaneMode", "loadweight", "hookstatus", "altitude" };
|
String topicPub[] = { "heartBeat", "voltagBattery", "currentBattery", "batteryRemaining", "positionAlt", "groundSpeed", "satCount", "latitude", "longitude", "fixType", "planeState", "pingNet", "getPlaneMode", "loadweight", "hookstatus", "altitude" };
|
||||||
int topicPubCount = sizeof(topicPub) / sizeof(topicPub[0]); //发送主题总数
|
int topicPubCount = sizeof(topicPub) / sizeof(topicPub[0]); //发送主题总数
|
||||||
String topicPubMsg[16]; //发送数据存放 对应topicPub
|
String topicPubMsg[16]; //发送数据存放 对应topicPub
|
||||||
String oldMsg[16]; //记录旧的数据 用来对比有没有更新
|
String oldMsg[16]; //记录旧的数据 用来对比有没有更新
|
||||||
/*触发发送 主题*/
|
/*触发发送 主题*/
|
||||||
//0:对频信息
|
//0:对频信息
|
||||||
String topicHandle[] = { "crosFrequency" };
|
String topicHandle[] = { "crosFrequency" };
|
||||||
|
Loading…
Reference in New Issue
Block a user