Skip to content

Seria Transport freezes infinitly on windows 10 #18

@grodino

Description

@grodino

Hi pebblers,

I'm currently trying to get libpebble2 running on windows 10. I'm using the serial transport to communicate with my watch.
When I call pebble.run_async() the code doesn't do anything and never stop, without displaying anything.

I first thought that the problem was coming from python 3.5 but I tried it too on python 2.7 and it didn't work.

I am on windows 10 and here is my code :

import logging
import serial

from libpebble2.communication import PebbleConnection
from libpebble2.communication.transports.serial import SerialTransport

from libpebble2.protocol import *
from libpebble2.services.notifications import Notifications
from libpebble2.services.screenshot import Screenshot

logging.basicConfig(level=logging.DEBUG)

pebble = PebbleConnection(
    SerialTransport('COM3'),
    log_protocol_level=logging.DEBUG,
    log_packet_level=logging.DEBUG
    )

pebble.connect()
pebble.run_async()

Thank you for your help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions