11 lines
308 B
Text
11 lines
308 B
Text
# -*- coding: utf-8 -*-
|
|
import pika
|
|
|
|
CREDS = pika.credentials.PlainCredentials('oie', '*******', True)
|
|
|
|
PARAMS = pika.ConnectionParameters(host='rabbitmq.crans.org',
|
|
port=5671, credentials=CREDS, ssl=True)
|
|
|
|
DEVICE = "/dev/ttyAMA0" #Ou USB0 sur oie
|
|
|
|
QUEUE = 'CransTicket' # ou 'CransTicketDebug' en test
|