In-vehicle apparatus
An in-vehicle apparatus includes a communicator, a display, and a processor. The communicator communicates with a first portable device. The display displays a pattern image including first setting data indicating a connection setting to a server. The processor requests the first portable device communicably coupled to the communicator to establish a communication connection to the server based on the first setting data acquired by capturing the pattern image and download a data file from the server.
1 . An in-vehicle apparatus to be applied to a vehicle, the in-vehicle apparatus comprising:
a communicator configured to communicate with a first portable device and a second portable device;
a display; and
a processor configured to:
generate a pattern image comprising first setting data indicating a connection setting to a server and second setting data indicating a connection setting to the communicator,
cause the display to display the generated pattern image,
request the first portable device communicably coupled to the communicator to acquire the pattern image by capturing the pattern image displayed on the display,
request the first portable device to (i) establish a communication connection to the server based on the first setting data acquired by capturing the pattern image, and (ii) download a data file configured to update software of the in-vehicle apparatus from the server,
request the first portable device to (i) establish a communication connection to the communicator based on the second setting data acquired by capturing the pattern image, and (ii) transmit the data file downloaded from the server to the communicator;
request the second portable device communicably coupled to the communicator to acquire the pattern image by capturing the pattern image displayed on the display,
request the second portable device to (i) establish a communication connection to the server based on the first setting data acquired by capturing the pattern image, and (ii) download another data file configured to update the software of the in-vehicle apparatus from the server, the update of the software of the in-vehicle apparatus comprising the data file and the another data file, the another data file being different from the data file downloaded by the first portable device, and
request the second portable device to (i) establish a communication connection to the communicator based on the second setting data acquired by capturing the pattern image, and (ii) transmit the another data file downloaded from the server to the communicator.
2 . The in-vehicle apparatus according to claim 1 , further comprising
an operation input unit configured to receive an operational input performed by an occupant of the vehicle, wherein
the communicator is configured to communicate with the server,
the display is configured to display a message asking the occupant whether to update software when the communicator receives, from the server, a notification indicating that the data file configured to update the software is in the server, and
the display is configured to display the pattern image when the operation input unit receives an operational input indicating that the software is to be updated.
3 . The in-vehicle apparatus according to claim 1 , wherein the communicator is configured to receive the data file downloaded from the server and transmitted from the first portable device communicably coupled to the communicator.
4 . The in-vehicle apparatus according to claim 1 , wherein
the first setting data comprises a network address of the server and authentication information for accessing the server, and
the second setting data comprises identification information of the communicator and an access key for establishing the communication connection to the communicator.
5 . The in-vehicle apparatus according to claim 1 , wherein the processor is configured to update the software of the in-vehicle apparatus based on the data file and the another data file.
6 . The in-vehicle apparatus according to claim 1 , wherein the processor is configured to:
obtain a first communication speed indicating a speed in the communication connection between the first portable device and the server, and a second communication speed indicating a speed in the communication connection between the second portable device and the server, and
assign the data file and the another data file to the first portable device and the second portable device based on the first communication speed and the second communication speed.
7 . The in-vehicle apparatus according to claim 6 , wherein the processor is configured to:
receive the first communication speed from the first portable device, and
receive the second communication speed from the second portable device.
8 . The in-vehicle apparatus according to claim 6 , wherein the processor is configured to:
estimate the first communication speed based on a standard of wireless communication used for the communication between the first portable device and the server, and
estimate the second communication speed based on a standard of wireless communication used for the communication between the second portable device and the server.
9 . The in-vehicle apparatus according to claim 1 , wherein the pattern image is a two-dimensional code.
10 . The in-vehicle apparatus according to claim 9 , wherein the two-dimensional code is a quick response (QR) code.
11 . The in-vehicle apparatus according to claim 1 , wherein the communicator is configured to communicate with the first portable device via a wireless local area network.
12 . The in-vehicle apparatus according to claim 1 , wherein the first portable device is a smartphone.