helium / gateway-config

The Helium configuration application. Enables configuring the Helium Hotspot over Bluetooth
Apache License 2.0
38 stars 25 forks source link

Can't start gateway_config #96

Closed trongbang108 closed 1 year ago

trongbang108 commented 1 year ago

Dear dev team,

I'm using /dev/i2c-4

I'm able to generate the onboarding key via /dev/i2c-4.

But I couldn't find the config file for /dev/i2c-4 of gateway-config. Hopefully, dev team can let me know where the file should I update.

2022-11-28 09:51:04.706 [warning] <0.544.0>@gateway_config_worker:init_button:76 No GPIO device tree found, running in stub mode 2022-11-28 09:51:04.712 [warning] <0.546.0>@gateway_config_led:init:78 No i2c device found, running in stub mode 2022-11-28 09:51:04.726 [info] <0.546.0>@gateway_config_led:led_set_color:243 Would have set LED: {255,255,0} 2022-11-28 09:51:04.738 [error] <0.549.0> Supervisor {<0.549.0>,gatt_application_sup} had child application started with gatt_application:start_link(<0.549.0>, gateway_gatt_application, []) at undefined exit with reason {error,no_adapter} in context start_error 2022-11-28 09:51:04.739 [error] <0.543.0> Supervisor gateway_config_sup had child gateway_gatt_application started with gatt_application_sup:start_link(gateway_gatt_application, []) at undefined exit with reason {shutdown,{failed_to_start_child,application,{error,no_adapter}}} in context start_error 2022-11-28 09:51:04.739 [error] <0.550.0> CRASH REPORT Process <0.550.0> with 0 neighbours exited with reason: {error,no_adapter} in gen_server:init_it/6 line 401 2022-11-28 09:51:04.741 [error] <0.541.0> CRASH REPORT Process <0.541.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,gateway_gatt_application,{shutdown,{failed_to_start_child,application,{error,no_adapter}}}}},{gateway_config_app,start,[normal,[]]}} in application_master:init/4 line 138 2022-11-28 09:51:04.742 [info] <0.435.0> Application gateway_config exited with reason: {{shutdown,{failed_to_start_child,gateway_gatt_application,{shutdown,{failed_to_start_child,application,{error,no_adapter}}}}},{gateway_config_app,start,[normal,[]]}}

Thanks so much!

trongbang108 commented 1 year ago

dbus-send --system --print-reply --dest=com.helium.Miner / com.helium.Miner.P2PStatus

method return time=1669631762.658730 sender=:1.63 -> destination=:1.68 serial=5 reply_serial=2 array [ struct { string "connected" string "yes" } struct { string "dialable" string "yes" } struct { string "nat_type" string "symmetric" } struct { string "height" string "1634424" } ]

trongbang108 commented 1 year ago

solved

ChewingGlass commented 9 months ago

@trongbang108 how did you end up solving this?