You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
538 B

12 months ago
  1. # 多设备编码规范,异常处理规范
  2. ```
  3. 0. 单片机按照当前产品真实安装的设备编写代码。有设备则实现对应的协议,没有该设备则不实现。
  4. 1. LinuxID路由,则只路由真实存在的设备。
  5. 2. app目录下的代码,根据项目的不同,写不同的代码。
  6. 3. 整个程序根据Host名字自动生成不同的配置。
  7. 4. config.json中在正式代码中应该为空。
  8. 5. Hardware启动时,校验单片机的板子类型,如果板子类型不匹配,则设置标志位。
  9. ```