code: public void setAdvertising(boolean enable) {
          Buffer buffer = new Buffer();
          buffer.writeByte(enable ? 1 : 0);
          sendMessage(BeanMessageID.BT_ADV_ONOFF, buffer);
      }
docs: Set the advertising flag.
  
  @param enable true to enable, false to disable