Open
Description
Currently, the webUSB url is set in webusb_controller.c
#define URL "ambiqai.github.io/web-ble-dashboards/ic_demo/"
// Microsoft OS 2.0 compatible descriptor
#define DESC_MS_OS_20 7
#define WEBUSB_REQUEST_SET_CONTROL_LINE_STATE 0x22
#define REWRIT_NUMBER 40 // allow for long blocks to be sent in parts
const tusb_desc_webusb_url_t desc_url = {
.bLength = 3 + sizeof(URL) - 1,
.bDescriptorType = 3, // WEBUSB URL type
.bScheme = 1, // 0: http, 1: https
.url = URL};
It would be nice for me to override desc_url to specify a different URL (e.g. https://ambiqai.github.io/tileio/)
Metadata
Metadata
Assignees
Labels
No labels