You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "AminoACID123 (via GitHub)" <gi...@apache.org> on 2023/11/11 11:40:33 UTC
[I] Is it possible to run Nimble auto-pts on linux? [mynewt-nimble]
AminoACID123 opened a new issue, #1649:
URL: https://github.com/apache/mynewt-nimble/issues/1649
I notice that Nimble already provides a linux port. I wonder if it is possible to perform auto-pts on linux too?
--
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: commits-unsubscribe@mynewt.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Is it possible to run Nimble auto-pts on linux? [mynewt-nimble]
Posted by "KKopyscinski (via GitHub)" <gi...@apache.org>.
KKopyscinski commented on issue #1649:
URL: https://github.com/apache/mynewt-nimble/issues/1649#issuecomment-1851573808
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:
```yml
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 https://github.com/apache/mynewt-core/pull/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.
--
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: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org