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.

16 lines
344 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #include "sys.h"
  2. #include "version.h"
  3. #include "zble_service.h"
  4. zble_service_cfg_t cfg = {.deviceName = "iflytop"};
  5. int main(void) {
  6. zsys_init();
  7. NRF_LOG_INFO("compile time :%s", __TIME__);
  8. NRF_LOG_INFO("Version :%d", VERSION);
  9. NRF_LOG_INFO("Manufacturer :%s", MANUFACTURER_NAME);
  10. zble_service_init(&cfg);
  11. zsys_loop();
  12. }