Commit Graph

3 Commits

Author SHA1 Message Date
Li Cao 3702c88a76 [ncp] implement ncp dnssd update service and key record (#10909) 2024-11-14 18:34:17 -08:00
Li Cao d0998beca4 [ncp] implement ncp version of otPlatDnssdRegisterHost (#10893)
This commit implements ncp version of otPlatDnssdRegisterHost.
1. move the position of `SPINEL_PROP_DNSSD_STATE` in `spinel.h`
   because it was by mistake put within the range of
   `SPINEL_PROP_SRP_SERVER`. The value is unchanged.
2. A template method `DnssdUpdate` is added because the same process
   works also for DNSSD service and key record which will be added in
   following PRs.
2024-11-07 09:46:59 +01:00
Li Cao 8b3e51276b [ncp] implement ncp version of otPlatDnssd (#10882)
This commit implements NCP based version of `otPlatDnssdGetState`.

A unit test is added to verify the implementation. This commit also
adjusts the unit test workflow to put the ncp unit tests into a
separate item. The direct reason for this commit is that `otPlatDnssd`
APIs haven't been implemented in `FakePlatform` and when
`OT_PLATFORM_DNSSD` is turned, the build failed. Let's first run NCP
unit tests separately and later try to merge the test items.
2024-11-01 11:26:36 -07:00