# US 2018/0024828 A1 · Method for wirelessly updating firmware in a wide area network

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

- Number: US 2018/0024828 A1
- Document ID: US20180024828A1
- Status: Published application
- Kind: A1
- Application number: 15/549,630
- Filed: 2016-01-27
- Published: 2018-01-25
- Earliest claimed: 2015-02-17
- Assignees: Robert Bosch GmbH
- Applicants: Robert Bosch GmbH
- Inventors: Juan Nogueira-Nine
- Web page: https://patentgrep.com/patent/US20180024828A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- H04B 1/715: Interference-related aspects
- H04L 12/6418: {Hybrid transport}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04W 24/02: Arrangements for optimising operational condition
- H04B 2201/713: Frequency hopping
- H04L 27/12: Modulator circuits; Transmitter circuits
- 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
- H04W 8/245: {from a network towards a terminal}
- Y02D 30/70: in wireless communication networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04B: TRANSMISSION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Executing a FOTA (firmware over the air) method in a LoRa network having low throughput and low power. the transceivers used in the end nodes and in the LoRa gateway are capable of selecting a certain frequency channel and deactivating the LoRa mode. If the spread-spectrum LoRa mode is deactivated, both transceivers at the end node and the gateway function instead using a basic FSK (frequency-shift keying) modulation scheme. This modulation scheme is capable of providing a higher data rate at the expense of reducing the “path balance,” which indicates how much attenuation the transmitted signal may sustain while still being able to be decoded at the receiver. When using the FSK modulation scheme at a high data rate, a FOTA method may be easily carried out, since the end node must have its receiver activated only for a short time.

## Claims

### Claim at position 1

1-6. (canceled)

### Claim 7

A method for providing wireless firmware (FOTA) updates in a LoRa network, where the LoRa network includes at least one end node and at least one gateway, the end nodes including LoRa transceivers and the gateway including a LoRa transceiver, the method comprising:
selecting, via the transceivers used in the end nodes and the transceiver in the LoRa gateway, a certain frequency channel;
activating or deactivating, via the transceivers used in the end nodes and the transceiver in the LoRa gateway, the LoRa mode, wherein the LoRa mode is deactivated in the gateway and in the end nodes if a firmware update is to be transferred to the end nodes, and
wherein a firmware update mode acting via an FSK (frequency shift keying) modulation scheme is activated in the transceivers on the end node and the transceiver on the gateway, and a wireless firmware update is prepared by the gateway for the end nodes.

### Claim 8 (depends on 7)

The method of claim 7, wherein the firmware update mode acts in a selected frequency channel which differs from the frequency channel of the LoRa mode, the allowable transmission power in the frequency channel selected for the firmware update mode being higher than in the LoRa operating channels.

### Claim 9 (depends on 7)

The method of claim 7, wherein the end nodes are spatially fixed end nodes, and the range covered by each gateway is assessed to include only those end nodes having LoRa spread factors, for which the reduction in the path balance caused by the deactivation of the LoRa mode is regained via a corresponding increase in the transmission power of the gateway.

### Claim 10 (depends on 9)

The method of claim 9, wherein the end nodes are parking sensors which detect whether a parking space is vacant or occupied.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
a) notifying the parking sensors using the LoRa communication mode that a new firmware version is available, and that the FOTA method will be started at some point in time; gateways which are within range of one another starting the update method in sequence; the sequence being decided by a network control unit (NCU) which manages the network operation, and being communicated to each gateway; the notification including the frequency channel which is used for the firmware update, the firmware size, the number of data packets which are used for transmitting the complete firmware, and the maximum time which the complete firmware download will require;
b) each parking sensor will confirm the reception of the piece of information according to step a), and the network control unit (NCU) checks that all parking sensors have confirmed the reception;
c) the NCU downloads the new firmware to the gateways, this firmware being stored in the memory of the gateway;
d) at the stipulated point in time, the parking sensors deactivate the LoRa mode, switch their respective transceiver to FSK modulation in the indicated channel, and activate their receivers;
e) the gateways, following the predetermined sequence, switch to an FSK modulation mode in the selected channels, and begin transmission of the new firmware; the firmware being divided and packetized into separate data blocks as a function of the firmware size, and a sequence number being added to each data packet;
f) the parking sensors monitor each received packet and create a list including the missing sequence numbers of lost packets, if any;
g) as soon as the packet having the expected last sequence number has been received, or if a predefined maximum download time has elapsed, each parking sensor end node resets to its normal LoRa mode and transmits a LoRa packet in order to inform the NCU about the success or failure of the FOTA method; and if the method has failed, the parking sensor transmits a list of sequence numbers of lost packets;
h) if the NCU has received a notification about the success of the download method from all affected parking sensors, it signals the parking sensors to carry out the update method at a given point in time;
i) if the parking sensor end nodes restart with the execution of the new firmware version, each parking sensor informs the NCU with the aid of LoRa data packet which includes the firmware version.

### Claim 12 (depends on 7)

The method of claim 7, wherein the end nodes are mobile LoRa devices, and the FOTA method is carried out only if the end node is situated close enough to a gateway to be accessible within the range provided by the FSK path balance.
