eren-terzioglu opened a new pull request, #19009:
URL: https://github.com/apache/nuttx/pull/19009

   ## Summary
   
   <!-- This field should contain a summary of the changes. It will be 
pre-filled with the commit's message and descriptions. Adjust it accordingly -->
   
   * Docs/platforms/esp32[-c6|-h2]: Add BLE docs for esp32[-c6|-h2]
   
   Add BLE docs for esp32c6 and esp32h2
   
   * boards/risc-v/espressif: Add BLE board support for esp32[-c6|-h2]
   
   Add BLE board support for esp32c6 and esp32h2
   
   * arch/risc-v/espressif: Add BLE support for esp32[-c6|-h2]
   
   Add BLE support for esp32c6 and esp32h2
   
   ## Impact
   <!-- Please fill the following sections with YES/NO and provide a brief 
explanation -->
   
   Impact on user: Yes, C6 and H2 BLE can be used now
   <!-- Does it impact user's applications? How? -->
   
   Impact on build: No
   <!-- Does it impact on building NuttX? How? (please describe the required 
changes on the build system) -->
   
   Impact on hardware: Yes, C6 and H2 BLE is supported
   <!-- Does it impact a specific hardware supported by NuttX? -->
   
   Impact on documentation: Yes, related docs added
   <!-- Does it impact the existing documentation? Please provide additional 
documentation to reflect that -->
   
   Impact on security: No
   <!-- Does it impact NuttX's security? -->
   
   Impact on compatibility: No
   <!-- Does it impact compatibility between previous and current versions? Is 
this a breaking change? -->
   
   ## Testing
   <!-- Please provide all the testing procedure. Consider that upstream 
reviewers should be able to reproduce the same testing performed internally -->
   
   `esp32c6-devkitc:ble` and `esp32h2-devkit:ble` configs used to test
   
   ### Building
   <!-- Provide how to build the test for each SoC being tested -->
   
   Command to build:
   
   ```
   make -j distclean && ./tools/configure.sh esp32c6-devkitc:ble && make -j && 
make download ESPTOOL_PORT=/dev/ttyUSB0
   ```
   
   ### Running
   <!-- Provide how to run the test for each SoC being tested -->
   
   Command used to test:
   
   ```
   ifconfig
   ifup bnep0
   bt bnep0 scan start
   bt bnep0 scan stop
   bt benep0 scan get
   ```
   
   ### Results
   <!-- Provide tests' results and runtime logs -->
   
   Output:
   
   ```
   nsh> ifconfig
   bnep0        Link encap:UNSPEC at RUNNING mtu -9
        inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
   nsh> ifup bnep0
   ifup bnep0...OK
   nsh> bt bnep0 scan start
   nsh> bt bnep0 scan stop
   nsh> bt bnep0 scan get
   Scan result:
    1.  addr:            ... type: 1
        rssi:            -86
        response type:   3
        advertiser data: ...
    2.  addr:            ... type: 1
        rssi:            -81
        response type:   0
        advertiser data: ...
    3.  addr:            ... type: 0
        rssi:            -96
        response type:   0
        advertiser data: ...
    4.  addr:            ... type: 1
        rssi:            -75
        response type:   0
        advertiser data:
    5.  addr:            ... type: 1
        rssi:            -78
        response type:   0
        advertiser data: ...
   nsh> 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to