Forum Replies Created

Viewing 15 posts - 391 through 405 (of 1,031 total)
  • Author
    Posts
  • in reply to: BLE connection issues #23851
    Renzo Mischianti
    Keymaster

      Hi,
      for the upper version of Android you must specify in the file AndroidManifest.xml these grant

      
      <manifest>
          <!-- Request legacy Bluetooth permissions on older devices. -->
          <uses-permission android:name="android.permission.BLUETOOTH"
                           android:maxSdkVersion="30" />
          <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"
                           android:maxSdkVersion="30" />
      
          <!-- Needed only if your app looks for Bluetooth devices.
               If your app doesn't use Bluetooth scan results to derive physical
               location information, you can strongly assert that your app
               doesn't derive physical location. -->
          <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
      
          <!-- Needed only if your app makes the device discoverable to Bluetooth
               devices. -->
          <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
      
          <!-- Needed only if your app communicates with already-paired Bluetooth
               devices. -->
          <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
      
          <!-- Needed only if your app uses Bluetooth scan results to derive physical location. -->
          <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
          ...
      </manifest>
      

      But if It’s works with version 13 It’s very strange.

      Bye Renzo

      in reply to: Board Esp-f (Based with ESP8266) WDT Reset #23850
      Renzo Mischianti
      Keymaster

        Ciao Alex,
        dando per scontato che hai l’ultima versione della libreria.

        Innanzitutto prova a rimuovere la riga
        LoraWan_Config.close();

        E non usare il PWR_DWN_LOSE, a questo punto potrebbe esserci un problema li che ho fixato male

        
          ResponseStatus rs = LoraWan.setConfiguration(configuration, WRITE_CFG_PWR_DWN_SAVE);  
        

        Per il risparmio energetico non stai mettendo in sleep l’esp8266, dai un occhio a quest’articolo

        Ebyte LoRa E32 device for Arduino, esp32 or esp8266: WOR (wake on radio) microcontroller and new WeMos D1 mini shield – Part 7

        è per l’E32 ma il principio è lo stesso.

        Ciao Renzo

        in reply to: Battery Management MKR 1010 #23849
        Renzo Mischianti
        Keymaster

          Hi Paolo,
          I don’t have the same model of the battery.

          But It’s possible that in the code you use to do the test, doesn’t this line commented?

          
            // while (!Serial);
          

          And check in “Computer management –> Device management –> Port (COM and LPT) the behavior of the COM port.

          Bye Renzo

          in reply to: Email Sender not working again #23824
          Renzo Mischianti
          Keymaster

            Hi rs77can,
            to manage that situation I add 2 methods:

            emailSend.setAdditionalResponseLineOnConnection(1);
            and
            emailSend.setAdditionalResponseLineOnHELO(1);

            these methods manage strange responses from the SMTP server, use that instead of adding client.flush() in the library.

            Can you confirm that the space after the PublicIPDescriptor generate another problem?

            Thanks Renzo

            in reply to: Lora E220.h #23823
            Renzo Mischianti
            Keymaster

              Ahh ok!
              But I think you can check only the GPS status. The EByte LoRa device has a buffer where It puts all the messages to send, so you can sendMessage every time the GPS data is available.
              Bye Renzo

              in reply to: Lora E220.h #23813
              Renzo Mischianti
              Keymaster

                My GPS has pin PPS waveshare L76X is it possible to synchronize the transmitting lora with the received GPS signal?

                Can you explain better “synchronize the transmitting lora with the received GPS signal”?

                Thanks Renzo

                in reply to: Lora E220.h #23812
                Renzo Mischianti
                Keymaster

                  Hi Piotr,
                  To understand look at this line’s code. If the AUX pin is settled, I check when It’s going LOW else I add a big delay to wait for the device to complete the operation.
                  Bye Renzo

                  in reply to: Battery Management MKR 1010 #23809
                  Renzo Mischianti
                  Keymaster

                    Hi Paolo,
                    It’s very strange. Which battery type do you use?
                    Bye Renzo

                    in reply to: Email Sender not working again #23808
                    Renzo Mischianti
                    Keymaster

                      But with the flush and the space deletion work?

                      in reply to: BLE connection issues #23801
                      Renzo Mischianti
                      Keymaster

                        Ahh perfect! This is important information.
                        Probably the version of Bluetooth changed and also changed the management.
                        Bye Renzo

                        in reply to: Email Sender not working again #23800
                        Renzo Mischianti
                        Keymaster

                          Hi,
                          ok, your SMTP server needs the IP of your server in the helo message; you can use the library command

                          setPublicIpDescriptor()

                          to change It from ‘mischianti’ to another value.

                          And update the library to the latest version.

                          Bye Renzo

                          in reply to: Email Sender not working again #23790
                          Renzo Mischianti
                          Keymaster

                            Hi rs77can,
                            no, nothing in particular, but you can try downloading an older library (in the Arduino IDE you can select all the previous version) to check if something is different.
                            Bye Renzo

                            in reply to: BLE connection issues #23787
                            Renzo Mischianti
                            Keymaster

                              Hi TLes,
                              It’s possible that you don’t give so much power to the microcontroller to do the operations, try to add an external power supply.
                              Bye Renzo

                              in reply to: Lora E220.h #23786
                              Renzo Mischianti
                              Keymaster

                                Hi Piotr,
                                I think there is an issue with your code, and It seems that you want to send a message every millisecond in the loop.
                                I think you must set a correct delay on It.

                                But first of all, you must connect AUX; otherwise, every send need a big delay for execution.
                                Bye Renzo

                                in reply to: Email Sender not working again #23785
                                Renzo Mischianti
                                Keymaster

                                  Hi rs77can,
                                  I think your email provider change something about EHLO message.
                                  Try to contact your provider or check if there was some system updade.
                                  Bye Renzo

                                Viewing 15 posts - 391 through 405 (of 1,031 total)