BBpos has an iOS SDK. Probably you need to contact the BBpos sales team to request it.On the technical side, BBpos uses BLE and you need to press and hold the button to enter on discovery mode.It uses TLV ISO 7816 protocol, but again, you need the manual from BBpos to know each one of the commands.And finally, all payment transactions are encrypted, so the keys must be injected on the device prior to ship to the merchant, and in this case, you will need a Payment processor, like Worldpay for example, which doesn't support BBpos for now.
Post
Replies
Boosts
Views
Activity
Thanks Matt.On the WiFi side I was able to connect and send/receive data, but I really need to use Bluetooth.I'll repost this question on the other channel, but as far as I understand, that channel is for BLE, not Classic Bluetooth, right?
Update:
Relevant snip of the view:
public struct ListOfPosts: View {
@State private var posts = [Post]()
public var body: some View {
return ScrollView {
LazyVGrid(columns: columns, spacing: 20) {
ForEach(posts, id: \.self) { item in
NormalView(title: item.title,
excert: item.excert,
thumbnail: item.thumbnail)
}
}
.padding(.horizontal)
}
}
}
struct Posts_Previews: PreviewProvider {
static var previews: some View {
ListOfPosts(API().getPosts())
}
}
After updating the Preview, this is the current error message:
LoadingError: failed to load library at path "(...)/Products/Debug-iphonesimulator/PackageFrameworks/Posts.framework/Posts
	Reason: image not found)
Diagnostic message - https://developer.apple.com/forums/content/attachment/f5608467-8566-4d10-9779-b79f484b5fff
Found the problem. It was related to:
The certificate isn't a regular one - it is X962
Need to use another library to work with this certificate.
If anyone interested, here is a link for a working server-side code
https://github.com/pprindeville/python-appattest/blob/main/appattest/appattest.py