-
Notifications
You must be signed in to change notification settings - Fork 56
Add UARTService; add standard library files #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One naming question then good.
adafruit_ble/uart.py
Outdated
from .uuid import UUID | ||
from .characteristic import Characteristic | ||
from .service import Service | ||
from .peripheral_server import PeripheralServer | ||
|
||
class UARTService: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be UARTPeripheral or something else instead of service because it cannot be used with other services?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree UARTService
is probably misleading. How about UARTServer
? It doesn't really act as either a subclass of Service
or a subclass of Peripheral
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And it really is officially a server, in terms of it being a GATT server.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks!
Update Code of Conduct
bleio
functionality.