Modifications

Sauter à la navigation Sauter à la recherche
4 391 octets ajoutés ,  30 juillet 2017 à 14:46
Page créée avec « {{Bluefruit-LE-Shield-NAV}} {{traduction}} == Can I talk to Classic Bluetooth devices with a Bluefruit LE modules? == No. Bluetooth Low Energy and 'Classic' Bluetooth a... »
{{Bluefruit-LE-Shield-NAV}}

{{traduction}}

== Can I talk to Classic Bluetooth devices with a Bluefruit LE modules? ==
No. Bluetooth Low Energy and 'Classic' Bluetooth are both part of the same Bluetooth Core Specification -- defined and maintained by the Bluetooth SIG -- but they are completely different protocols operating with different physical constraints and requirements. The two protocols can't talk to each other directly.

== Can my Bluefruit LE module connect to other Bluefruit LE peripherals ? ==
No, the Bluefruit LE firmware from Adafruit is currently peripheral only, and doesn't run in Central mode, which would cause the module to behave similar to your mobile phone or BLE enabled laptop.

If you required Central support, you should look at the newer nRF52832 based products like the {{https://www.adafruit.com/product/3406 Adafruit Feather nRF52 Bluefruit LE}}, which contains a SoftDevice which is capable of running in either Central or Peripheral mode. The nRF518322 based products (such as the one used in this learning guide) are '''not''' capable of running in Central mode because it isn't supported by the SoftDevice they use, and it isn't possible to update the SoftDevice safely without special hardware.

== Why are none of my changes persisting when I reset with the sample sketches? ==
In order to ensure that the Bluefruit LE modules are in a known state for the Adafruit demo sketches, most of them perform a factory reset at the start of the sketch.

This is useful to ensure that the sketch functions properly, but has the side effect of erasing any custom user data in NVM and setting everything back to factory defaults every time your board comes out of reset and the sketch runs.

To disable factory reset, open the demo sketch and find the '''FACTORYRESET_ENABLE''' flag and set this to '0', which will prevent the factory reset from happening at startup.

If you don't see the 'FACTORYRESET_ENABLE' flag in your .ino sketch file, you probably have an older version of the sketches and may need to update to the latest version via the Arduino library manager.

== Do I need CTS and RTS on my UART based Bluefruit LE Module? ==

Using CTS and RTS isn't strictly necessary when using HW serial, but they should both be used with SW serial, or any time that a lot of data is being transmitted.

The reason behind the need for CTS and RTS is that the UART block on the nRF51822 isn't very robust, and early versions of the chip had an extremely small FIFO meaning that the UART peripheral was quickly overwhelmed.

Using CTS and RTS significantly improves the reliability of the UART connection since these two pins tell the device on the other end when they need to wait while the existing buffered data is processed.

To enable CTS and RTS support, go into the BluefruitConfig.h file in your sketch folder and simply assign an appropriate pin to the macros dedicated to those functions (they may be set to -1 if they aren't currently being used).

Enabling both of these pins should solve any data reliability issues you are having with large commands, or when transmitting a number of commands in a row.

== How can I update to the latest Bluefruit LE Firmware? ==
The easiest way to keep your Bluefruit LE modules up to date is with our [https://play.google.com/store/apps/details?id=com.adafruit.bluefruit.le.connect Bluefruit LE Connect app for Android] or [https://itunes.apple.com/app/adafruit-bluefruit-le-connect/id830125974?mt=8 Bluefruit LE Connect for iOS]. Both of these apps include a firmware update feature that allows you to automatically download the latest firmware and flash your Bluefruit LE device in as safe and painless a manner as possible. You can also roll back to older versions of the Bluefruit LE firmware using these apps if you need to do some testing on a previous version.

== Which firmware version supports 'xxx'? ==
We regularly release [https://github.com/adafruit/Adafruit_BluefruitLE_Firmware Bluefruit LE firmware images] with bug fixes and new features. Each AT command in this learning guide lists the minimum firmware version required to use that command, but for a higher level overview of the changes from one firmware version to the next, consult the [https://learn.adafruit.com/introducing-adafruit-ble-bluetooth-low-energy-friend/history firmware history page].

{{Bluefruit-LE-Shield-TRAILER}}
30 711

modifications

Menu de navigation