apps/tag_mesh/src/main.c
int
uwb_config_updated()
{
    uint32_t utime = os_cputime_ticks_to_usecs(os_cputime_get32());
    struct uwb_dev *udev = uwb_dev_idx_lookup(0);
    uwb_mac_config(udev, NULL);
    uwb_txrf_config(udev, &udev->config.txrf);
    printf("{\"utime\": %lu,\"msg\": \"new config applied\"}\n",utime);
    return 0;
}
/**
 * @fn uwb_config_update
 * 
 * Called from the main event queue as a result of the uwbcfg packet
 * having received a commit/load of new uwb configuration.
 */


Called from the main event queue as a result of the uwbcfg packet
having received a commit/load of new uwb configuration.
Called from the main event queue as a result of the uwbcfg packet having received a commit / load of new uwb configuration .
int
uwb_config_updated()
{
    uint32_t utime = os_cputime_ticks_to_usecs(os_cputime_get32());
    struct uwb_dev *udev = uwb_dev_idx_lookup(0);
    uwb_mac_config(udev, NULL);
    uwb_txrf_config(udev, &udev->config.txrf);
    printf("{\"utime\": %lu,\"msg\": \"new config applied\"}\n",utime);
    return 0;
}
int uwb_config_updated ( ) { uint32_t utime = os_cputime_ticks_to_usecs ( os_cputime_get32 ( ) ) ; struct uwb_dev * udev = uwb_dev_idx_lookup ( 0 ) ; uwb_mac_config ( udev , NULL ) ; uwb_txrf_config ( udev , & udev -> config . txrf ) ; printf ( " \" \" \" \" \" \" \n " , utime ) ; return 0 ; }
@fn uwb_config_update
@fn uwb_config_update