-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ota-requestor-app build and run #9740
Make ota-requestor-app build and run #9740
Conversation
would be nicer to encapsulate these globals and the callbacks in some sort of classconnectedhomeip/examples/ota-requestor-app/linux/main.cpp Lines 59 to 69 in 73a8f82
This comment was generated by todo based on a
|
blocked because arrays are being generated as uint8_tconnectedhomeip/examples/ota-requestor-app/linux/main.cpp Lines 118 to 128 in 73a8f82
This comment was generated by todo based on a
|
- OpCreds should only be generated for pairing commandconnectedhomeip/examples/ota-requestor-app/linux/main.cpp Lines 252 to 262 in 73a8f82
This comment was generated by todo based on a
|
something more elegant than appending to a local fileconnectedhomeip/examples/ota-requestor-app/ota-requestor-common/BDXDownloader.cpp Lines 79 to 89 in 73a8f82
This comment was generated by todo based on a
|
while convenient, we should not do a synchronous block write in our example application - this is bad practiceconnectedhomeip/examples/ota-requestor-app/ota-requestor-common/BDXDownloader.cpp Lines 80 to 90 in 73a8f82
This comment was generated by todo based on a
|
- move self-commissioning code into its own file - rename example args for QueryImage - remove location param null-terminator - leave metadata empty - change "peerId" to "providerLocation"
support this as a list once ember adds list supportconnectedhomeip/examples/ota-requestor-app/linux/main.cpp Lines 122 to 132 in dd13ad2
This comment was generated by todo based on a
|
Problem
ota-requestor-app
does not build or do anything useful right nowWe need an OTA Requestor reference app in order to validate
ota-provider-app
and other OTA Provider devices. This should also serve as a reference for how to add OTA Requestor functionality to other applications.Change overview
Device::EstablishConnectivity()
to connect to Provider device and define connection callbacksController
with crypto infokExpectResponse
flag for BDX exchangeota-requestor-app
build to CITesting
ota-provider-app
with instructions in README.md (requires CHIPDevice: add access to ExchangeManager, fix SessionHandle getter #9734 and [ota-provider-app] fix location parsing and BDX sender #9733)