Comments (1)
It is possible but it would require work on both auto-pts and NimBLE side. On autopts you'd have to create support in autoptsclient for new project - there is one for Mynewt, but it supports Mynewt running on board - it uses BSPs from ptsprojects/boards
. Linux (native) build is host only, and app uses controller provided by Linux. Because such app runs on Linux system and not physical board, it renders current BTP communication useless - there is no UART. I tried building bttester
app on native with config:
syscfg.vals:
BLE_TRANSPORT_LL: socket
BLE_SOCK_USE_LINUX_BLUE: 1
BLE_SOCK_USE_TCP: 0
and there are some compilation errors. Maybe they could be resolved by apache/mynewt-core#3042 , or by modifying app code.
Besides that, another communication channel for BTP commands would have to be made, AFAIK TCP could work. You could take a look at uart_pipe.c
- we would have to make similar one for TCP.
I'm not sure it would be worth to implement all of this, because PTS is used to qualify Host itself - it does not depend on what platform Host is built. And all tests can be run or nRF52 or nRF53, and other BSP support could be added more easily - it would require only adding board support in autopts, which basically tells autopts how to restart board, and optionally build and flash image onto it.
from mynewt-nimble.
Related Issues (20)
- NimBLE supports to disable BLE GATT client or server HOT 1
- NimBLE sample build error with apache-mynewt-core HOT 1
- Broken Link HOT 1
- How to trace function calls in controller code
- Document NimBLE Vendor specific HCI commands and events
- Reducing MSYS_1_BLOCK_SIZE breaks SC Pairing DH key exchange HOT 5
- nimble-linux: ble_hci_sock_init: Assertion `rc == 0' failed. HOT 4
- Ability for ble_gatts_notify_custom() to wait for new packet buffers
- Change Macro from min to MIN in lpn.c
- controller/iso: ISO broadcast support without encryption HOT 1
- Error code of ble_gap_adv_set_data function HOT 2
- Possibility to read IO capability of initiating device
- `ble_gatts_clt_cfg_access(...)` odd return values casted from `BLE_HS_E...` to `BLE_ATT_ERR_...` on storage overflow
- L2CAP COC: Removing a server HOT 7
- L2CAP COC: Preventing a race condition HOT 4
- linux_blemesh example HOT 8
- npl/linux: Callout gets stuck in active state
- BLE disconnected, reason code: 520 HOT 4
- Failed assertion due to big connection interval and small notification interval
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mynewt-nimble.