diff --git a/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json b/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json index 1c243821..ca3ba8ef 100644 --- a/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json +++ b/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json @@ -1,4 +1,5 @@ { + "bluetooth": "Support for additional Bluetooth services.", "bluetooth.onBluetoothConnected": "Register code to run when the micro:bit is connected to over Bluetooth", "bluetooth.onBluetoothConnected|param|body": "Code to run when a Bluetooth connection is established", "bluetooth.onBluetoothDisconnected": "Register code to run when a bluetooth connection to the micro:bit is lost", @@ -10,6 +11,10 @@ "bluetooth.startMagnetometerService": "Starts the Bluetooth magnetometer service", "bluetooth.startTemperatureService": "Starts the Bluetooth temperature service", "bluetooth.startUartService": "Starts the Bluetooth UART service", - "bluetooth.uartRead": "Reads from the Bluetooth UART service buffer, returning its contents when the specified delimiter character is encountered.", - "bluetooth.uartWrite": "Writes to the Bluetooth UART service buffer. From there the data is transmitted over Bluetooth to a connected device." + "bluetooth.uartReadUntil": "Reads from the Bluetooth UART service buffer, returning its contents when the specified delimiter character is encountered.", + "bluetooth.uartWriteNumber": "Prints a numeric value to the serial", + "bluetooth.uartWriteString": "Writes to the Bluetooth UART service buffer. From there the data is transmitted over Bluetooth to a connected device.", + "bluetooth.uartWriteValue": "Writes a ``name: value`` pair line to the serial.", + "bluetooth.uartWriteValue|param|name": "name of the value stream, eg: x", + "bluetooth.uartWriteValue|param|value": "to write" } \ No newline at end of file diff --git a/libs/bluetooth/_locales/bluetooth-strings.json b/libs/bluetooth/_locales/bluetooth-strings.json index 0fc2a04e..ad894e0c 100644 --- a/libs/bluetooth/_locales/bluetooth-strings.json +++ b/libs/bluetooth/_locales/bluetooth-strings.json @@ -8,7 +8,10 @@ "bluetooth.startMagnetometerService|block": "bluetooth magnetometer service", "bluetooth.startTemperatureService|block": "bluetooth temperature service", "bluetooth.startUartService|block": "bluetooth uart service", - "bluetooth.uartRead|block": "bluetooth uart read %del=bluetooth_uart_delimiter_conv", - "bluetooth.uartWrite|block": "bluetooth uart write %data", - "bluetooth|block": "bluetooth" + "bluetooth.uartReadUntil|block": "bluetooth uart|read until %del=serial_delimiter_conv", + "bluetooth.uartWriteNumber|block": "bluetooth uart|write number %value", + "bluetooth.uartWriteString|block": "bluetooth uart|write string %data", + "bluetooth.uartWriteValue|block": "bluetooth uart|write value %name|= %value", + "bluetooth|block": "bluetooth", + "{id:category}Bluetooth": "Bluetooth" } \ No newline at end of file diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index 98e24602..58b2fd26 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -161,6 +161,8 @@ "pins.spiWrite|param|value": "Data to be sent to the SPI slave", "serial": "Reading and writing data over a serial connection.", "serial.readLine": "Reads a line of text from the serial port.", + "serial.readUntil": "Reads a line of text from the serial port and returns the buffer when the delimiter is met.", + "serial.readUntil|param|delimiter": "text delimiter that separates each text chunk", "serial.redirect": "Dynamically configuring the serial instance to use pins other than USBTX and USBRX.", "serial.redirect|param|rx": "the new reception pin", "serial.redirect|param|tx": "the new transmission pins", diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index ddd6ab34..c51caf1a 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -70,11 +70,22 @@ "pins.setPull|block": "set pull|pin %pin|to %pull", "pins.spiWrite|block": "spi write %value", "pins|block": "pins", - "serial.readLine|block": "serial read line", - "serial.redirect|block": "serial redirect to|TX %tx|RX %rx|at baud rate %rate", + "serial.readLine|block": "serial|read line", + "serial.readUntil|block": "serial|read until %delimiter=serial_delimiter_conv", + "serial.redirect|block": "serial|redirect to|TX %tx|RX %rx|at baud rate %rate", "serial.writeLine|block": "serial|write line %text", "serial.writeNumber|block": "serial|write number %value", - "serial.writeString|block": "serial write string %text", + "serial.writeString|block": "serial|write string %text", "serial.writeValue|block": "serial|write value %name|= %value", - "serial|block": "serial" + "serial|block": "serial", + "{id:category}Basic": "Basic", + "{id:category}Control": "Control", + "{id:category}Game": "Game", + "{id:category}Images": "Images", + "{id:category}Input": "Input", + "{id:category}Led": "Led", + "{id:category}Math": "Math", + "{id:category}Music": "Music", + "{id:category}Pins": "Pins", + "{id:category}Serial": "Serial" } \ No newline at end of file diff --git a/libs/devices/_locales/devices-strings.json b/libs/devices/_locales/devices-strings.json index de547f3a..8b24b7aa 100644 --- a/libs/devices/_locales/devices-strings.json +++ b/libs/devices/_locales/devices-strings.json @@ -6,5 +6,6 @@ "devices.signalStrength|block": "signal strength", "devices.tellCameraTo|block": "tell camera to|%property", "devices.tellRemoteControlTo|block": "tell remote control to|%property", - "devices|block": "devices" + "devices|block": "devices", + "{id:category}Devices": "Devices" } \ No newline at end of file diff --git a/libs/radio/_locales/radio-jsdoc-strings.json b/libs/radio/_locales/radio-jsdoc-strings.json index 808dd5cc..9b04a86b 100644 --- a/libs/radio/_locales/radio-jsdoc-strings.json +++ b/libs/radio/_locales/radio-jsdoc-strings.json @@ -15,5 +15,6 @@ "radio.setTransmitPower": "Change the output power level of the transmitter to the given value.", "radio.setTransmitPower|param|power": "a value in the range 0..7, where 0 is the lowest power and 7 is the highest. eg: 7", "radio.setTransmitSerialNumber": "Set the radio to transmit the serial number in each message.", + "radio.setTransmitSerialNumber|param|transmit": "value indicating if the serial number is transmitted, eg: true", "radio.writeValueToSerial": "Reads a value sent with `stream value` and writes it\nto the serial stream as JSON" } \ No newline at end of file diff --git a/libs/radio/_locales/radio-strings.json b/libs/radio/_locales/radio-strings.json index f0385d86..1364cff0 100644 --- a/libs/radio/_locales/radio-strings.json +++ b/libs/radio/_locales/radio-strings.json @@ -2,7 +2,6 @@ "radio.onDataReceived|block": "radio on data received", "radio.receiveNumber|block": "radio receive number", "radio.receiveString|block": "radio receive string", - "radio.receivedNumberAt|block": "radio receive number|at %VALUE", "radio.receivedSignalStrength|block": "radio received signal strength", "radio.sendNumber|block": "radio send number %value", "radio.sendString|block": "radio send string %msg", @@ -11,5 +10,6 @@ "radio.setTransmitPower|block": "radio set transmit power %power", "radio.setTransmitSerialNumber|block": "radio set transmit serial number %transmit", "radio.writeValueToSerial|block": "radio write value to serial", - "radio|block": "radio" + "radio|block": "radio", + "{id:category}Radio": "Radio" } \ No newline at end of file