# US 2025/0156183 A1 · A method and device for reading data from a sensor

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0156183 A1
- Document ID: US20250156183A1
- Status: Published application
- Kind: A1
- Application number: 18/840,051
- Filed: 2023-02-27
- Published: 2025-05-15
- Earliest claimed: 2022-02-28
- Applicants: Vodafone IP Licensing Limited
- Inventors: Timothy Paul EVANS
- Web page: https://patentgrep.com/patent/US20250156183A1

## CPC

- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- H04L 69/06: Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 12/04: Addressing variable-length words or parts of words
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 2213/0016: Inter-integrated circuit (I2C)
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of reading data from a sensor is provided, wherein the sensor is selected from one or more sensors that are communicatively connected via an interface, wherein the method comprises: processing a set of instructions, wherein the set of instructions comprises a plurality of commands and a corresponding value for each command, wherein each command is represented by a data sequence having a first predetermined data length, wherein the corresponding value for each command is provided as a data sequence having a second predetermined data length.

## Claims

### Claim 1

A method of reading data from a sensor, wherein the sensor is selected from one or more sensors that are communicatively connected via an interface, wherein the method comprises:
processing a set of instructions, wherein the set of instructions comprises a plurality of commands and a corresponding value for each command,
wherein each command is represented by a data sequence having a first predetermined data length, wherein the corresponding value for each command is provided as a data sequence having a second predetermined data length.

### Claim 2 (depends on 1)

The method of claim 1, wherein the set of instructions comprises at least the following commands:
address a reference to the sensor for writing data via the interface, wherein the corresponding value comprises an address of the sensor;
write data to the sensor via the interface, wherein the corresponding value comprises the data to be written to the sensor via the interface;
address a reference to the sensor for reading data via the interface, wherein the corresponding value comprises an address of the sensor; and
read data from the sensor via the interface,

### Claim 3 (depends on 1)

The method of claim 1, wherein the set of instructions comprises a command portion comprising the plurality of commands and a command value portion comprising the corresponding values for the plurality of commands, wherein a data length of the command portion is equal to a data length of the corresponding command value portion.

### Claim 4 (depends on 3)

The method of claim 3, wherein the set of instructions comprises a plurality of bytes, wherein each command in the set of instructions is represented by exactly one byte of data, wherein the corresponding value of each command comprises exactly one byte of data.

### Claim 5 (depends on 1)

The method of claim 1, wherein the plurality of commands are provided in a defined order and wherein the method comprises executing the commands in the defined order.

### Claim 6 (depends on 1)

The method of claim 1, wherein the read command comprises a corresponding value that is either:
a) zero; or
b) a length of the data to be read via the interface.

### Claim 7 (depends on 1)

The method of claim 1, wherein the corresponding data comprises null data, wherein the set of instructions further comprises one or more further consecutive commands to read data from the sensor via the interface, wherein a length of the data to be read via the interface is defined by the number of consecutive read commands.

### Claim 8 (depends on 1)

The method of claim 1, wherein the one or more sensors are connected in parallel to the interface.

### Claim 9 (depends on 8)

The method of claim 8, wherein the interface is a 2-line bus interface, wherein data is read and written serially to and from the one or more sensors via the interface.

### Claim 10 (depends on 9)

The method of claim 9, wherein the interface is an Inter-Integrated Circuit, I2C, interface.

### Claim 11 (depends on 1)

The method of claim 1, wherein the method further comprises executing a control sequence, wherein the control sequence comprises:
an address of the sensor on the interface; and
a memory location of the set of instructions.

### Claim 12 (depends on 11)

The method of claim 11, wherein the method further comprises retrieving the set of instructions from the memory location.

### Claim 13 (depends on 11)

The method of claim 11, wherein the interface is one interface selected from a plurality of interfaces, wherein the control sequence further comprises an identifier of the selected interface.

### Claim 14 (depends on 1)

The method of claim 1, further comprising transmitting data over a data connection to a remote server, wherein the data transmitted over the data connection comprises the data read from the sensor via the interface.

### Claim 15 (depends on 1)

The method of claim 1, wherein the instructions further comprise one or more of the following commands:
address a reference to the sensor for writing data via the interface, wherein the corresponding value comprises an address of the sensor;
write data to the sensor via the interface, wherein the corresponding value comprises the data to be written to the sensor via the interface;
address a reference to the sensor for reading data via the interface, wherein the corresponding value comprises an address of the sensor;
read data from the sensor via the interface and store the read data for transmitting to a remote server via a data connection;
read data from the sensor via the interface and do not store the read data;
store a data value for transmitting to a remote server via a data connection, wherein the corresponding value comprises the data to be stored and transmitted to the remote server;
wait for a period of time before proceeding with the next command in the set of instructions, wherein the period of time comprises a number of intervals of predetermined duration, wherein the corresponding value of the command comprises the number of intervals to wait;
loop over a first subset of commands of the set of commands, wherein the corresponding value comprises a number of times to execute the first subset of commands, wherein the subset of commands begins immediately after the loop command;
define an end of the loop, wherein the subset of commands ends immediately before the end of loop command;
perform a comparison and execute a second subset of commands of the set of commands or break out of a current loop if a predetermined condition is met, wherein the corresponding value defines the predetermined condition, wherein the predetermined condition is selected from:
a first number is equal to a second number,
a first number is not equal to a second number,
a first number is greater than a second number, and
a first number is less than a second number,
wherein the first number and the second number are defined in a subsequent command;
read data from the sensor via the interface and use the data as the first number in the comparison, wherein the corresponding value defines the second number in the comparison;
read data from an indicated memory buffer and use the data as the first number in the comparison, wherein the corresponding value defines the second number in the comparison;
modify the first number in the comparison by performing a predetermined operation on the first number and a third number, wherein the predetermined operation is selected from:
bitwise AND the first number with the third number,
bitwise OR the first number with the third number,
bitwise XOR the first number with the third number,
wherein the third number is defined in a subsequent command;
read data from the sensor via the interface and use the data as the third number to modify the first number in the comparison;
read data from the sensor via the interface and ignore the read data;
define a start of the second subset of commands, wherein the second subset of commands begins immediately after the define command;
define an end of the second subset of commands, wherein the second subset of commands ends immediately before the define command;
force the script to terminate, without executing subsequent commands;
read data from the sensor via the interface and store the read data in a memory buffer, wherein the corresponding value is an address of the memory buffer;
write data from a memory buffer to the sensor via the interface, wherein the corresponding value comprises an address of the memory buffer; and
clear a memory buffer, wherein the corresponding value comprises an address of the memory buffer to clear.

### Claim 16 (depends on 1)

A device comprising a processor configured to perform the method of claim 1.

### Claim 17 (depends on 16)

The device of claim 16, further comprising one or more sensors connected to the processor via the interface.

### Claim 18 (depends on 16)

The device of claim 16, further comprising an antenna for transmitting data via a cellular network to a remote server.

### Claim 19 (depends on 16)

The device of claim 16, further comprising a battery.
