

<p class="bg-light">This is a quick start for <strong>OS version 3.4.1 and earlier</strong>.
</p>


<h2 id="turn-on-the-power">Turn on the power<a class="anchorjs-link " href="#turn-on-the-power" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>

<div class="row">

<div class="col-md-8">
<p>Power is turned on by connecting the obniz BLE Gateway to a power supply (outlet).<br>When the LED is blinking Green, it is ready to be set.Connect to the Wi-Fi (SSID) output by the Gateway from a PC or tablet.</p>
</div>
<div class="col-md-4">
<figure class="wp-block-image size-large"><img src="../images/doc_ble_gs01.png" alt="Connect the BLE gateway to an electrical outlet"></figure>
</div>
</div>

<p><a href="#ledStatus1" class="btn btn-info" data-toggle="collapse">LED status on startup (OS v3.4.2 or later)</a></p>
<div id="ledStatus1" class="collapse">
	<div class="well">
  <table class="table-default table-status" style="background-color: #fff;">
    <thead>
    <tr>
      <th width="25%">LED status Color </th>
      <th width="25%">Operating State</th>  
      <th>Things to do</th>
    </tr>
    </thead>
    <tbody>
    <tr>
      <th><span class="led blink_p"></span><br>Purple (blinking)</th>
      <td>Standby for options at startup</td>
      <td>
      <p>Immediately after startup (Green light on), press and hold the button to enter the startup option standby state.</p>
      <p>You can check the OS version and Mac address of the device. Other than that, you can also delete Wi-Fi settings.<a href="/reference/obnizos-for-esp32/settings/startup-option">Learn more</a></p>
      </td>
    </tr>
    <tr>
      <th><span class="led led_non"></span><br>LED does not turn on</th>
      <td>No power on</td>
      <td>
      <p>Check the power supply.
      To confirm, unplug the device and connect a different device to the same outlet to make sure that the device works. Then we recommend you to plug in the obniz BLE again.</p>
      </td>
    </tr>
    </tbody>
  </table>
  <p><a class="btn btn-default" href="#led-display-and-operating-status">LED Display and operating status</a></p>
	</div>
</div>



<h2 id="wi-fi-settings">Wi-Fi Settings<a class="anchorjs-link " href="#wi-fi-settings" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>

<div class="row">
<div class="col-md-9">

<p>When you connect to Wi-Fi for the first time, the gateway will be in the standby state (LED blinking Purple) for Wi-Fi setting. Please follow steps 1-3 of the Wi-Fi setup procedure below to proceed with the setup.</p>
<p>If there is a memorized Wi-Fi (SSID), the LED will blink Blue. In this case, you do not need to perform steps 1 to 3 below.</p>

</div>
<div class="col-md-3">
<figure class="wp-block-image size-large"><img src="../images/doc_ble_gs02.png" alt="" class="wp-image-1986" width="150" height="150"></figure>
</div>
</div>



<div class="mb-40">
<p>
<a href="#ledStatus2" class="btn btn-info" data-toggle="collapse">LED status when connected to Wi-Fi / Cloud (OS v3.4.2 or later)</a>
</p>
<div id="ledStatus2" class="collapse">
	<div class="well">
  <table class="table-default table-status" style="background-color: #fff;">
    <thead>
    <tr>
      <th width="25%">LED status Color</th>
      <th width="25%">Operating State</th>  
      <th>Things to do</th>
    </tr>
    </thead>
    <tbody>
    <tr>
      <th><span class="led blink_g"></span>&nbsp;<span class="led led_r"></span><br>Green (blink)&rarr;Red (light)</th>
      <td>Wi-Fi connection error</td>
      <td>
      <p>You may have made a mistake in your Wi-Fi connection settings. You may need to reset the settings and reconfigure them if necessary.
      In some cases, please reset the settings.
      This will resolve after a period of time (about 4 seconds) and then the device will reboot and turn green. </p>
      </td>
    </tr>
    <tr>
      <th><span class="led blink_b"></span>&nbsp;<span class="led led_r"></span><br>Blue (blink)&rarr;Red (light)</th>
      <td>Cloud connection error</td>
      <td>
      <p>Review your network settings.</p>
      <ul>
      <li>Inadequate proxy settings</li>
      <li>Restrict access to the network</li>
      </ul>
      <p>If the above does not solve the problem, please check the following in the cloud.</p>
      <ul>
      <li>Device is "Inactive" => Change to "Active"</li>
      <li>Plan Expiration (Disable payment settings)</li>
      </ul>    
      </td>
    </tr>
    <tr>
      <th><span class="led led_r"></span><br>Red (light)</th>
      <td>Cloud maintenance</td>
      <td>-</td>
    </tr>
    </tbody>
  </table>
	<p>For safety reasons, the system will automatically restart after 1 minute of inactivity or 15 minutes of inactivity while not connected to obniz Cloud.</p>
  <p><a class="btn btn-default" href="#led-display-and-operating-status">LED Display and operating status</a></p>
  </div>
</div>
</div>



<div id="howtoSetting" class="bg-light">
<h3>How to set up Wi-Fi</h3>
<h4> 1. Connect to BLE Gateway’s Wi-Fi</h4>
<p>In the initial state, Wi-Fi is output from the BLE Gateway. Connect to the Wi-Fi (SSID) output by the Gateway from a PC or tablet.<br>SSID: obniz-XXXXXXXX(8 digit number)</p>

<div class="row">
<div class="col-md-8">
<h4>2. Selecting the Wi-Fi</h4>
<p>While connected to Gateway Wi-Fi, go to the <a href="http://192.168.0.1">Settings page </a>(http://192.168.0.1).</p>
<p>Select the SSID of the Wi-Fi you want to use from the pull-down and enter your password. You can connect to the Internet via Wi-Fi (b/g/n 2GHz).</p>
</div>

<div class="col-md-4">
<figure class="wp-block-image size-large"><img src="../images/wifi_configure.png" alt="" width="200" height="174"></figure>
</div>
</div>

<div class="row">
<div class="col-md-8">
<h4> 3. Connection</h4>
<p>After completing the input, click [Connect] to attempt to connect to the network you have set up.</p>
<p>Regardless of success or failure, the browser will display the figure.</p>
</div>
<div class="col-md-4">
<figure class="wp-block-image size-large"><img src="../images/wifi_configure_after.png" alt=""></figure>
</div>
</div>

</div>



<h2 id="setup-complete">Setup Complete<a class="anchorjs-link " href="#setup-complete" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>

<div class="row">

<div class="col-md-9">
<p><strong>The LED lights up Blue</strong> when a constant connection to the cloud is established.</p>
<p>If the connection fails, please try again to enter or set the SSID or password.</p>
</div>

<div class="col-md-3">
<figure class="wp-block-image size-large"><img src="../images/doc_ble_gs03.png" alt="" width="150" height="150"></figure>
</div>
</div>



<h2 id="led-display-and-operating-status">LED Display and operating status<a class="anchorjs-link " href="#led-display-and-operating-status" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>

<div class="row">
<div class="col-md-8">
<h3>LED Display (OS v3.4.2 or later)</h3>
<p>The LED will change depending on the network connection status and other operating conditions.</p>
</div>
<div class="col-md-4">
<img src="../images/gw-status.png" alt="LED Display">
</div>
</div>

<div class="table-responsive">
  <table width="100%" class="table-default table-status">
    <thead>
    <tr>
      <th width="25%">LED status Color (on/blinking)</th>
      <th width="25%">Operating State</th>  
      <th>Things to do</th>
    </tr>
    </thead>
    <tbody>
    <tr>
      <th><span class="led led_g"></span><br>Green (lighted)</th>
      <td>The state immediately after startup</td>
      <td>Press the button in this state for a few seconds to enter the device setting mode (Purple(blinking)).</td>
      </td>
    </tr>
    <tr>
      <th><span class="led blink_g"></span><br>Green (blinking)</th>
      <td>Connecting to Wi-Fi</td>
      <td>In case of a successful connection, the connection will be Blue (blinking).
      It is in the state of scanning (or connecting) to the surrounding Wi-Fi. It will automatically change to one of the following statuses.</p>
      <p>Purple (blinking)：Wi-Fi setting standby state（<a href="#wi-fi-settings">How to set</a>）<br>
      Blue (blinking)：Successfully connected to Wi-Fi. Connecting to the cloud.<br>
      Red (lighted)：Wi-Fi connection or Cloud connection error (please check the items lit in Red)</p>
      <p>If no Wi-Fi is found in the surrounding area that can be connected, it will repeatedly blink Green/light up.</p>
      </td>
      </td>
    </tr>
      <tr>
        <th><span class="led led_b"></span><br>Blue (lighted)</th>
        <td>Obniz Cloud Connected</td>
        <td>(Setup complete)</td>
      </tr>
      <tr>
        <th><span class="led blink_b"></span><br>Blue (blinking)</th>
        <td>They're connected to the obniz Cloud</td>
        <td>The Wi-Fi connection has been successfully established and you are now connected to the cloud (Internet).</td>
      </tr>
      <tr>
        <th><span class="led blink_p"></span><br>Purple (blinking)</th>
        <td>Waiting for user configuration</td>
        <td>
        <p>Gateway is outputting Wi-Fi and waiting for the user to operate. You can configure one of the following:</p>
        <h5>・Wi-Fi settings</h5>
        <p>You can configure the Wi-Fi to connect to. <a href="#howtoSetting">Click here for more information</a></p>
        <h5>・Startup Options</h5>
        <p>You can check the OS version and Mac address of the device. You can also set up other settings, such as deleting Wi-Fi settings. <a href="/reference/obnizos-for-esp32/settings/startup-option">Learn more</a></p>
        </td>
      </tr>
      <tr>
        <th><span class="led blink_g"></span>&nbsp;<span class="led led_r"></span><br>Green (blink)&rarr;Red (lighted)</th>
        <td>Wi-Fi connection error</td>
        <td>
        <p>Please check the following:</p>
          <ul>
            <li>Make sure the SSID and password are correct.</li>
            <li>Check network settings</li>
          </ul>
        <p>In some cases, please <a href="#wi-fi-reconfiguration">reset the settings</a>.</p>
        </td>
      </tr>
      <tr>
        <th><span class="led blink_b"></span>&nbsp;<span class="led led_r"></span><br>Blue (blink)&rarr;Red (lighted)</th>
        <td>Connected to Wi-Fi, not connected to the obniz Cloud</td>
        <td>
        <p>Review your network settings.</p>
          <ul>
            <li>Inadequate proxy settings</li>
            <li>Restrict access to the network</li>
          </ul>
        <p>If the above does not solve the problem, please check the following in the cloud.</p>
          <ul>
          <li>Device is "Inactive" => Change to "Active"</li>
          <li>Plan Expiration (Disable payment settings)</li>
          </ul>
        <p>If it is not the above, the cloud is under maintenance. Please wait until the maintenance is complete.</p>
        </td>
      </tr>
      <tr>
        <th><span class="led blink_rapid blink_b"></span><br>Blue (high-speed blinking)</th>
        <td>obnizOS is being updated</td>
        <td>If obnizOS is being updated, it will reboot and turn Green when it is done.</td>
        </td>
      </tr>
      <tr>
        <th><span class="led led_non"></span><br>LED does not turn on</th>
        <td>No power on</td>
        <td>Check the power supply. <br> <br>To confirm, unplug the device and connect a different device to the same outlet to make sure that the device works. Then we recommend you to plug in the obniz BLE again.</td>
      </tr>
    </tbody>
  </table>
</div>



<h2 id="wi-fi-reconfiguration">Wi-Fi reconfiguration<a class="anchorjs-link " href="#wi-fi-reconfiguration" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>


<p>If you don’t have any Wi-Fi information or can’t connect to Wi-Fi, you’ll need to set it up again. You will need to reconfigure your Wi-Fi, especially in the following cases</p>


<ul><li>My Wi-Fi password has changed.</li><li>I want to register an additional Wi-Fi connection that is not currently connected.</li></ul>


<p>If you want to set up your new Wi-Fi information, here’s how you can do it</p>

<ul><li>Re-configure in a place without connected Wi-Fi</li><li>button to clear all Wi-Fi settings from device setting mode.</li></ul>


<div class="row">
<div class="col-md-9">
<h4>Change to device setting mode</h4>
<p>If you press and hold the button for a few seconds immediately after turning on the power (green), you will be able to check the information and set the device (purple (flashing)). Again, you can connect with a smartphone or other device to clear the Wi-Fi settings, etc. (obnizOS3.4.0 or later)</p>
<p><a href="/reference/obnizos-for-esp32/settings/startup-option">See detail</a></p>
</div>
<div class="col-md-3">
<figure class="wp-block-image size-large"><img src="../images/gw-option-setting.png" alt=""></figure>
</div>
</div>


## Registering devices to the cloud

You can register devices in the cloud by going to [Register device](/reference/cloud/device-management/registration).
Registering to the cloud allows you to increase the level of security and manage your devices at a glance


<hr>