File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1414
1515#include <gateway/bt/scan.h>
1616
17+ #include <pouch/transport/ble_gatt/common/types.h>
18+
1719#include "cert.h"
1820#include "downlink.h"
1921#include "uplink.h"
2022
23+ #include <git_describe.h>
24+
2125#include <zephyr/logging/log.h>
2226LOG_MODULE_REGISTER (main );
2327
@@ -104,15 +108,16 @@ static inline void connect_to_cloud(void) {}
104108
105109int main (void )
106110{
107- int err ;
111+ LOG_INF ("Gateway Version: " STRINGIFY (GIT_DESCRIBE ));
112+ LOG_INF ("Pouch BLE Transport Protocol Version: %d" , GOLIOTH_BLE_GATT_VERSION );
108113
109114 connect_to_cloud ();
110115
111116 cert_module_on_connected (client );
112117 pouch_uplink_init (client );
113118 downlink_module_init (client );
114119
115- err = bt_enable (NULL );
120+ int err = bt_enable (NULL );
116121 if (err )
117122 {
118123 LOG_ERR ("Bluetooth init failed (err %d)" , err );
You can’t perform that action at this time.
0 commit comments