apache-mynewt-bot commented on issue #796: Apps: central added URL: https://github.com/apache/mynewt-nimble/pull/796#issuecomment-611425136 <!-- style-bot --> ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) #### apps/central/src/main.c <details> ```diff @@ -56,7 +56,7 @@ } else { MODLOG_DFLT(INFO,"Connection failed, error code: %i\n", event->connect.status); - } + } break; case BLE_GAP_EVENT_DISCONNECT: MODLOG_DFLT(INFO,"Disconnected, reason code: %i\n", @@ -222,7 +222,7 @@ }; switch (event->type) { - /*advertising report has been received during discovery procedure*/ + /*advertising report has been received during discovery procedure*/ case BLE_GAP_EVENT_DISC: MODLOG_DFLT(INFO, "Advertising report received!\n"); rc = ble_hs_adv_parse_fields(&parsed_fields, event->disc.data, @@ -236,7 +236,7 @@ if doesn't fit - end procedure and go back to scanning, else - connect. UUID digits are printed in decimal form until they don't match */ - for (int i = 0; i < sizeof(predef_uuid); i++) { + for (int i = 0; i < sizeof(predef_uuid); i++) { MODLOG_DFLT(INFO, "%d, ", parsed_fields.uuids128->value[i]); if (parsed_fields.uuids128->value[i] != predef_uuid[i]) { MODLOG_DFLT(INFO, "doesn't fit\n"); @@ -282,7 +282,7 @@ int rc; /* Generate a non-resolvable private address. */ ble_app_set_addr(); - + /* g_own_addr_type will store type of addres our BSP uses */ rc = ble_hs_util_ensure_addr(0); ``` </details>
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services