Skip to content
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

would be nicer to encapsulate these globals and the callbacks in some sort of cl... #9855

Closed
todo bot opened this issue Sep 21, 2021 · 1 comment
Closed
Assignees
Labels

Comments

@todo
Copy link

todo bot commented Sep 21, 2021

// TODO: would be nicer to encapsulate these globals and the callbacks in some sort of class
chip::Messaging::ExchangeContext * exchangeCtx = nullptr;
Device * providerDevice = nullptr;
BdxDownloader bdxDownloader;
void OnQueryImageResponse(void * context, uint8_t status, uint32_t delayedActionTime, uint8_t * imageURI, uint32_t softwareVersion,
chip::ByteSpan updateToken, bool userConsentNeeded, chip::ByteSpan metadataForRequestor)
{
ChipLogDetail(SoftwareUpdate, "%s", __FUNCTION__);
TransferSession::TransferInitData initOptions;
initOptions.TransferCtlFlags = chip::bdx::TransferControlFlags::kReceiverDrive;


This issue was generated by todo based on a TODO comment in 36de151 when #9740 was merged. cc @holbrookt.
@todo todo bot added the todo label Sep 21, 2021
@todo todo bot assigned holbrookt Sep 21, 2021
@carol-apple
Copy link
Contributor

This is a dupe of #9859

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants