The GATT_SERVER is straightforward, I can run it, connect to it from a phone, read/write to the two services which are advertised. But I'm not sure if/how the GATT_CLIENT example is meant to make a connection to the GATT_SERVER? It does scan and find the GATT_SERVER, but how does one trigger it to make a connection and read/write chars?
[UPDATE]
Looking at the serial debug, I see the following btc post failed error
Code: Select all
.[0m
.[0;32mI (44607) GATTC_DEMO: Searched Device Name Len 14
.[0m
.[0;32mI (44617) GATTC_DEMO: E.[0m
.[0;32mI (44617) GATTC_DEMO: S.[0m
.[0;32mI (44627) GATTC_DEMO: P.[0m
.[0;32mI (44627) GATTC_DEMO: _.[0m
.[0;32mI (44627) GATTC_DEMO: G.[0m
.[0;32mI (44637) GATTC_DEMO: A.[0m
.[0;32mI (44637) GATTC_DEMO: T.[0m
.[0;32mI (44637) GATTC_DEMO: T.[0m
.[0;32mI (44637) GATTC_DEMO: S.[0m
.[0;32mI (44647) GATTC_DEMO: _.[0m
.[0;32mI (44647) GATTC_DEMO: D.[0m
.[0;32mI (44647) GATTC_DEMO: E.[0m
.[0;32mI (44657) GATTC_DEMO: M.[0m
.[0;32mI (44657) GATTC_DEMO: O.[0m
.[0;32mI (44657) GATTC_DEMO: 24:.[0m
.[0;32mI (44667) GATTC_DEMO: a:.[0m
.[0;32mI (44667) GATTC_DEMO: c4:.[0m
.[0;32mI (44667) GATTC_DEMO: 0:.[0m
.[0;32mI (44677) GATTC_DEMO: a2:.[0m
.[0;32mI (44677) GATTC_DEMO: 56:.[0m
.[0;32mI (44677) GATTC_DEMO:
.[0m
.[0;32mI (44687) GATTC_DEMO: Searched Device Name Len 14
.[0m
.[0;32mI (44687) GATTC_DEMO: E.[0m
.[0;31mE (44697) BT: Btc Post failed
.[0m
.[0;32mI (44697) GATTC_DEMO: S.[0m
.[0;32mI (44697) GATTC_DEMO: P.[0m
.[0;31mE (44707) BT: Btc Post failed
.[0m
.[0;32mI (44707) GATTC_DEMO: _.[0m
.[0;32mI (44707) GATTC_DEMO: G.[0m
.[0;32mI (44717) GATTC_DEMO: A.[0m
.[0;32mI (44717) GATTC_DEMO: T.[0m
.[0;32mI (44717) GATTC_DEMO: T.[0m
.[0;32mI (44717) GATTC_DEMO: S.[0m
.[0;32mI (44727) GATTC_DEMO: _.[0m
.[0;32mI (44727) GATTC_DEMO: D.[0m
.[0;32mI (44727) GATTC_DEMO: E.[0m
.[0;32mI (44737) GATTC_DEMO: M.[0m
.[0;32mI (44737) GATTC_DEMO: O.[0m
.[0;32mI (44737) GATTC_DEMO: 60:.[0m
.[0;32