About 6 hours before I saw the reply to this I did that very thing. Works like a charm.
All Sony bluray players have used the same codes since the beginning of time. So if your remote has any Sony bluray codes at all, take your pick. Otherwise you'll have to learn them or import the hex codes from any source for any Sony model. Sony DVD codes won't work.
[Link: remotecentral.com]