-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Consider sharing "hex digit to int" code instead of duplicating it #3769
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Ack |
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the has map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
As we are moving toward a self-built mdns library in embedded systems and can know precisely about the TTL of each service, we can now enable caching for mdns services. Changes include: * Implemented a hash map for saving the mdns entries. * Modify the platform mdns api to get the notifications from the underlying library. * Add unit tests for the hash map. * Add functional tests for the DiscoveryManager * Also resolves project-chip#3769
@bzbarsky-apple I think @gjc13 fixed the issue, but didn't use the magic word "fix" in the PR, so the issue didn't get closed automatically ;). |
No, this is not fixed. In particular, the PR that all the noise is about above never got landed. |
Some of this code has changed, but HexDigitToInt could probably use the Encoding::HexToBytes function |
Problem
HexDigitToInt
inBleUUID.cpp
andHexToInt
insrc/lib/mdns/DiscoveryManager.cpp
look like the same function.Proposed Solution
Should probably be moved to a utility place of some sort.
The text was updated successfully, but these errors were encountered: